Skip to content

ROOT-HAWK/netcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netcat

netcat

the purpose is only for education

Please use the tools wisely

requirements

  • python2

installation

Use assistance

  • python2 netcat2.py -h Net Tool

  • Usage: netcat2.py -t target_host -P target_port

  • -l --listen - listen on [host]:[port] for incoming connections

  • -e --execute=file_to_run - execute the given file upon receiving a connection

  • -c --command - initialize a command shell

  • -u --upload=destination - upon receiving connection upload a file and write to [destination]

  • Examples:

  • netcat2.py -t 192.168.0.1 -p 5555 -l -c

  • netcat2.py -t 192.168.0.1 -p 5555 -l -u=c:\target.exe

  • netcat2.py -t 192.168.0.1 -p 5555 -l -e="cat /etc/passwd"

Releases

No releases published

Packages

No packages published

Languages