Higher Logic notes on screwing with tech…

Network Commands

Here are some of the network commands I could never bring myself to remember :D


# Analyze and dump some traffic
tshark -n -l -i eth1 host 122.248.133.20

# Who's alive on this subnet?
nmap -v -sP 192.168.16.0/24

# Posting some data with curl
curl -u mark_liu:xx -X POST -d '4142430A02000' http://aa.com

# Lets kill some bad traffic
tcpkill host host12.nixcraft.com
tcpkill ip host 192.168.1.2 and not 192.168.1.111
tcpkill -i eth0 port 21

# Broadcasting some ARP packets
arping -bUA -s 222.211.79.46 idlepig.com

# Ethernet bonding, lets all be friends
bonding mode=0 miimon=100 maxbonds=1
slaves_bond0="eth1 eth2" config_bond0=("10.0.0.1 broadcast 10.0.0.255 netmask 255.255.255.0")

# Saturate my link fast!
lftp -c "mirror -c --use-pget=20 http://xxx.com/stuff/"

# Mount that share!
sudo smbmount "\\\\192.168.1.70\\Network/ -o user=xx pass=bbb

# One banana, two banana, three...
netstat -nepal | grep "10.1.3.3:9000" | grep "ESTABLISHED" | wc

# You will take my key and you will like it
ssh-copy-id -i ~/.ssh/id_rsa.pub root@server1.domain.com

# Time travel... well port forwarding
ssh -L 10000:forbidden_site:80 hop_server

Comments (8) Trackbacks (0)
  1. Wonderful beat ! I wish to apprentice while you amend your website, how could
    i subscribe for a blog site? The account aided me a acceptable deal.
    I had been a little bit acquainted of this your broadcast provided bright clear concept

  2. Magnificent items from you, man. I’ve have in mind your stuff prior to and you’re just extremely
    fantastic. I really like what you have received here,
    certainly like what you are stating and the best
    way during which you are saying it. You make it enjoyable
    and you continue to take care of to keep it smart.
    I can not wait to read much more from you. This is really a tremendous web site.

  3. Excellent site you have here.. It’s hard to find quality writing like yours nowadays. I honestly appreciate individuals like you! Take care!!

  4. I quite like reading through a post that can make men and women think.
    Also, thank you for allowing me to comment!

  5. If you want to take much from this piece of writing then you have to apply these techniques to your won weblog.

  6. I couldn’t refrain from commenting. Well written!

  7. Awesome blog! Do you have any recommendations for aspiring writers?
    I’m planning to start my own website soon but I’m
    a little lost on everything. Would you advise starting with a free platform like
    Wordpress or go for a paid option? There are so many options out there that I’m totally overwhelmed .. Any recommendations? Many thanks!

  8. WOW just what I was looking for. Came here
    by searching for fast payday loans


Leave a comment

(required)

No trackbacks yet.