Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nullarray/pycat
Python network tool, similar to Netcat with custom features.
https://github.com/nullarray/pycat
netcat network pentesting scanner
Last synced: 1 day ago
JSON representation
Python network tool, similar to Netcat with custom features.
- Host: GitHub
- URL: https://github.com/nullarray/pycat
- Owner: NullArray
- License: gpl-3.0
- Created: 2015-09-20T02:33:13.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-31T16:40:58.000Z (over 7 years ago)
- Last Synced: 2024-10-31T16:52:43.812Z (8 days ago)
- Topics: netcat, network, pentesting, scanner
- Language: Python
- Homepage:
- Size: 32.2 KB
- Stars: 191
- Watchers: 23
- Forks: 57
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **150**星
README
# PyCat
Python Net ToolPyCat is a python replacement tool for netcat. That automatically scans for hosts that are up on the local network. Simply run PyCat.py without arguments to automatically start scanning the network. CTRL+C will interrupt scanning and display the options for interacting with hosts that are up.
# Update
I've added a timer set to 15 seconds on the main loop in scanner.py so that even if the scanner can't detect anything on the subnet or we are unable to send CTRL+C; e.g. we have PyCat on a remote server and can't send a keyboard interrupt through our shell, the program won't be scanning indefinitely and will automatically continue with it's normal operation.
# Usage
The options to use PyCat are as follows.
```
PyCat.py -h --help
Display this help messagePyCat.py -l --listen
Listen on [host]:[port] for incoming connectionsPyCat.py -c --command
Initialize a command shellPyCat.py -e --execute=file_to_run
Execute file upon connectionPyCat.py -u --upload=destination
Upon connection upload file and write to [destination]
```The target host and port can be specified with the -t and -p options respectively as shown in the example below.
```
PyCat.py -t 192.168.0.1 -p 5555 -l -u=c:\\target.exe
```This tool was by in large inspired by Black Hat Python and i might expand on it's functionality in the future.