Code Monkey home page Code Monkey logo

pycat's Introduction

PyCat

Python Net Tool

Pycat 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 message

PyCat.py -l --listen
Listen on [host]:[port] for incoming connections

PyCat.py -c --command
Initialize a command shell

PyCat.py -e --execute=file_to_run
Execute file upon connection

PyCat.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 inspired by Black Hat Python and i plan on expanding it further in the future.

pycat's People

Contributors

blaquee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.