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: 3 months 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-08-03T17:11:09.282Z (3 months ago)
- Topics: netcat, network, pentesting, scanner
- Language: Python
- Homepage:
- Size: 32.2 KB
- Stars: 190
- Watchers: 23
- Forks: 58
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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.