├── LICENSE ├── README.md └── oxhoa.py /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Manisso 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OxHoA 2 | Priv8 Image Capturing through Network Based On Driftnet 3 | # Image 4 | [![Terminal](https://media.giphy.com/media/1gVjAcYZSzPEtL0dPT/giphy.gif) 5 | -------------------------------------------------------------------------------- /oxhoa.py: -------------------------------------------------------------------------------- 1 | import os 2 | import sys 3 | follow = """ 4 | {+}-- https://www.facebook.com/dzmanisso 5 | {+}-- https://twitter.com/ManissoDz 6 | {+}-- https://github.com/Manisso 7 | {+}-- https://www.linkedin.com/in/Manisso 8 | {+}-- https://www.instagram.com/man.i.s/ 9 | """ 10 | 11 | driftnet = """ 12 | Driftnet watches network traffic, and picks out and displays JPEG and GIF images for display. 13 | It is a horrific invasion of privacy and shouldn't be used by anyone anywhere. 14 | It can also extract MPEG audio data from the network and play it. 15 | If you live in a house with thick walls, this may be a useful way to find out about your neighbours' musical taste. 16 | 17 | Source : https://github.com/deiv/driftnet 18 | """ 19 | logo = """ 20 | __ _ _ ___ 21 | / _ \ | | | | / _ \ 22 | | | | |_ _| |_| | ___ | |_| | 23 | | | | \ \ / / _ |/ _ \| _ | 24 | | |_| |\ v /| | | ( (_) ) | | | 25 | \___/ > < |_| |_|\___/|_| |_| 26 | / ^ \ 27 | /_/ \_\ 28 | }--{+} Coded By Manisso {+}--{ 29 | }----{+} Priv8 Tool Based On Driftnet {+}----{ 30 | }--{+} Greetz To IcoDz {+}--{ """ 31 | menu = """ 32 | {1}--Start Image Capturing 33 | {2}--About Driftnet 34 | {3}--Follow Me 35 | 36 | {99}--Exit 37 | 38 | """ 39 | if not os.geteuid() == 0: 40 | sys.exit("""\033[1;91m\n[!] Must be run as root. [!]\n\033[1;m""") 41 | 42 | os.system("clear && clear") 43 | print logo 44 | print menu 45 | def quit(): 46 | con = raw_input('Continue [Y/n] -> ') 47 | if con[0].upper() == 'N': 48 | exit() 49 | else: 50 | os.system("clear") 51 | print logo 52 | print menu 53 | select() 54 | 55 | def select(): 56 | try: 57 | choice = input("OxHoA~# ") 58 | if choice == 1: 59 | print("\033[1m\033[93m\n [++++]======================================================[++++] \033[1;m") 60 | print("\033[1m\033[93m\n [++++] Capture image through Network [++++] \033[91m") 61 | print("\033[1m\033[93m\n [++++] All images will be temporarily saved in \033[92m /opt/ochoa/\033[93m [++++] \033[91m") 62 | print("\033[1m\033[93m\n [++++]======================================================[++++] \033[1;m") 63 | os.system("mkdir -p /opt/ochoa/ && driftnet -d /opt/ochoa/ > /dev/null 2>&1 &") 64 | os.system("xettercap -X") 65 | os.system("rm -R /opt/ochoa/") 66 | quit() 67 | elif choice == 2: 68 | print driftnet 69 | quit() 70 | elif choice == 3: 71 | print follow 72 | quit() 73 | elif choice == 99: 74 | exit() 75 | except(KeyboardInterrupt): 76 | print "" 77 | select() 78 | --------------------------------------------------------------------------------