Skip to content

Commit

Permalink
Update anubis.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sundaysec authored Aug 21, 2018
1 parent 77b233d commit b876e19
Showing 1 changed file with 23 additions and 35 deletions.
58 changes: 23 additions & 35 deletions anubis.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# Version 2, December 2004
#
# Copyright (C) 2018 Sunday Philemon <philemonsunday202@gmail.com>
# Copyright (C) 2018 Sunday Philemon philemonsunday202@gmail.com
#
# Everyone is permitted to copy and distribute verbatim or modified
# copies of this license document, and changing it is allowed as long
Expand All @@ -12,46 +14,32 @@
#
# 0. You just DO WHAT THE FUCK YOU WANT TO.

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
from src import banner
import sys
import subprocess
import argparse as arg
import argcomplete

#vars
cwd = os.getcwd()
host = os.platform()

#arguments
parser = arg.ArgumentParser()
parser.add_argument("-i", "--interface", help="The active interface used (Default:wlan0)", default="wlan0")
parser.add_argument("-r", "--range", help="The range of scan(Default:24)", default=24)

#For argument autocomplete
argcomplete.autocomplete(parser)
q = parser.parse_args()

#confirm dependencies
#For netdiscover
# if os.path_isdir("/usr/share/doc/netdiscover"):
# pass
# else:
# subprocess.Popen("apt install netdiscover").wait()

# For macchanger
# if os.path_isfile("/usr/bin/macchanger"):
# pass
# else:
# subprocess.Popen("apt install macchanger").wait()
#Simple oop
class anubis:
def __init__(self, interface, range):
self.iface = interface
self.rng = range

#file manupulation function
def man():
with open(cwd + "/src/dump.txt") as data:
def scan(self):
pass



def main():
try:
banner.burn()
#to create the dump.txt file
os.system("netdiscover > " + cwd + "/src/dump.txt")
except:
Exception
#Print("Ok Goodbye")




if __name__ == '__main__':
main()
#Continue

0 comments on commit b876e19

Please sign in to comment.