Articles & Snippets

Search for content...
/

Start typing to search

Mounting an NTFS drive in Debian

Posted by Cătălin on Sun, 2 Dec 2012

Mounting an NTFS drive in Debian

# apt-get install libfuse2 # apt-get install ntfs-3g # fdisk -l | grep NTFS sample: /dev/sdb1 1 121601 976760001 7 HPFS/NTFS # mkdir /media/YOUR-FOLDER # mount -t ntfs-3g...

Read More...
code

Debug and monitor traffic on a network

Posted by Cătălin on Tue, 13 Nov 2012

Debug and monitor traffic on a network

The tcpdump command displays out the headers of packets on a network interface that match the boolean expression. To drop ssh traffic from dumping and monitoring operation using the following syntax: ...

Read More...
code

Creating Apple ID without credit card

Posted by Cătălin on Fri, 21 Sep 2012

Creating Apple ID without credit card

The following steps will get you an iTunes account without entering your credit card info. Log into iCloud on your iPhone, tap: Account / Payment information; Change Credit Card to NONE; Than go...

Read More...
code

Flush DNS Cache in Mac OS X

Posted by Cătălin on Fri, 10 Aug 2012

Flush DNS Cache in Mac OS X

Open Terminal and enter the following command (make sure you have administrative rights) Flush DNS Cache - Mac OS X 10.7, Mac OS X 10.8 sudo killall -HUP mDNSResponder Flush DNS Cache - Mac...

Read More...
code

How to detect a DDoS attack?

Posted by Cătălin on Thu, 9 Aug 2012

How to detect a DDoS attack?

netstat -alpn | grep :80 | awk '{print $5}' |awk -F: '{print $(NF-1)}' |sort | uniq -c | sort -n

Read More...
code

Empty Time Machine HDD on Mac

Posted by Cătălin on Wed, 4 Apr 2012

Empty Time Machine HDD on Mac

Open terminal, type cd /Volumes and then ls to display all volumes and cd Time Machine Backups to go into the Time Machine volume. Because Trashes is hidden type ls -a to display all files ...

Read More...
code