Giter Site home page Giter Site logo

python_hacking's Introduction

Python_Hacking

Programs and Tools written in Python that are useful in hacking in Kali Linux.

Required: Kali Linux, Python2, scapy package, netfilterqueue

      pip install scapy
      
      pip install scapy-http
      
      pip install netfilterqueue

Contents:

  1. mac_changer.py - A program that is used to change the MAC Address to ensure anonymity.

    Usage: python mac_changer.py -i [Interface] -m [new MAC Address]
    
  2. network_scanner.py - A program that uses target IP Address to get the target MAC Address under the same network.

    Usage: python network_scanner.py -t [Taget IP Address]
    
  3. arp_spoof.py - A program that functions exactly the same as arpspoof command in Kali Linux. It takes target ip address and gateway ip address as command line arguments.

    Usage: python arp_spoof.py -t [Target IP Address] -g [Gateway]
    
  4. packet_sniffer.py - A program that acts as MITM (Man In The Middle) to sniff/capture data through http layer such as url, username, password, etc. It must run with arp_spoof.py simultaneously.

    Usage: python arp_spoof.py -t [Target IP Address] -g [Gateway]
           python packet_sniffer.py -i [Interface]
    
  5. dns_spoof.py - A program that acts as MITM (Man In The Middle) to intercept packets and store them in netfilterqueue and redirect target device to a certain IP Address.

    Usage: python dns_spoof.py -i [IP Address]
    
  6. file_interceptor.py - A program that hijacks target's HTTP request and modifies HTTP status code as well as HTTP response in order to redirect to user specified url.

     Usage: iptables -I FORWARD -j NFQUEUE --queue-num 0
            python arp_spoof.py -t [Target IP Address] -g [Gateway]
            python file_interceptor.py -r [Redirect URL]
    
  7. download.py - A program that download a file from input URL and save it to input destination location.

     Usage: python download.py -u [URL] -d [Destination loaction]
    
  8. reverse_backdoor.py - A backdoor program that allows hacker to execute simple commands on target device using reversed TCP. Need to change ip_address to your current IP Address in main code. It must be run in the target device locally, and thus social engineering or any other MITM attack should be used. It works in all environment that supports Python. listener.py only works when reverse_backdoor.py is running locally in target device.

  9. listener.py - A socket program that allows us to listen from the reverser_backdoor.py program.

      Usage: reverse_backdoor.py is running in target device
             python listener.py -i [IP Address]
    

    Available commands in hacker's machine:

    1. Disable backdoor connection

              exit
      
    2. Change working directory

              cd [Destination directory]
      
    3. Download/Read file from target device

              download [File]
      
    4. Upload/Write file to traget device

              upload [File]
      
  10. crawler.py - A prgroam that can checks subdomains and directories of a web server given an url.

    Usage: python cralwer.py -u [URL]
    
  11. spider.py - A program that extracts all valid hyperlinks from a website given an url.

    Usage: python spider.py -u [URL]
    
  12. execute_and_report - A program that can send email to target computer and steal wifi password target is connected to

    Usage: python execute_and_report.py
    

code_injector.py, bypass_http.py, kelogger.py, malware_packing.py, vulnerability_scanner.py comming soon...

python_hacking's People

Contributors

billyshin 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.