Posts Tagged With: network

Trasfer over the network

Tagged with: , , , , ,

Transfer stdin and stdout to and from machines over the network


ssh remote_machine 'cat - > file' < file
No Comments »

Show All HTTP Traffic

Tagged with: , , , , , , , ,

Show all HTTP traffic


tcpdump tcp port 80
No Comments »

Show All Network Services

Tagged with: , , , , , ,

Show all network services listening on the system and their PID


netstat -tupl
No Comments »

Copy Files Using Samba

Tagged with: , , , , , , ,

Download files from a host windows via smb


smbget -Rr smb://ip_addr/share
No Comments »

Show Remote Shares using Samba

Tagged with: , , , , , ,

Show remote shares of a windows host


smbclient -L ip_addr/hostname
No Comments »

Configuration of a wireless network card

Tagged with: , , , , , , ,

Show configuration of a wireless network card


iwconfig wlan0
No Comments »

Find WiFi Hotspots

Tagged with: , , , , ,

Use this command to find the wifi hotspots around your system. You need wifi hardware with proper drivers for this to work…


iwlist wlan0 scan
2 Comments »

Show Hostname

Tagged with: , , , ,

Show hostname of system


hostname
No Comments »

Activate IP Forwarding

Tagged with: , , , , , ,

Activate IP Forwarding


echo "1" > /proc/sys/net/ipv4/ip_forward
No Comments »

Show Active Network Connections

Tagged with: , , , , , ,

Show all active network connections and their PID


netstat -tup 
No Comments »