omargnagy / subterfuge

Automatically exported from code.google.com/p/subterfuge
GNU General Public License v3.0
0 stars 0 forks source link

Problems with Wireless AP Generator #145

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set MITM VECTOR => Wirless AP Generator (setting: Active, "fakeAP", channel 
1, network Wlan0 (for access to real gateway), attack wlan1 (Alfa card for 
fakeAP)

2. Console do message:
Launching Access Point Generation Attack...
Traceback (most recent call last):
  File "/usr/share/subterfuge/attackctrl.py", line 324, in <module>
    attack(sys.argv[1])
  File "/usr/share/subterfuge/attackctrl.py", line 145, in attack
    cmd = "xterm -e sh -c 'python " + str(os.path.dirname(__file__)) + "/utilities/apgen.py " + essid + " " + atknic + " " + netnic + "' &"
UnboundLocalError: local variable 'essid' referenced before assignment
WARNING: No route found for IPv6 destination :: (no default route?)
Poisoning the entire subnet...

sslstrip 0.9 by Moxie Marlinspike running...
Traceback (most recent call last):
  File "/usr/share/subterfuge/modules/sessionhijacking/cookiestealer.py", line 84, in <module>
    a = sniff(filter="tcp and ( port 80 )", prn=getCookies)
  File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 586, in sniff
    r = prn(p)
  File "/usr/share/subterfuge/modules/sessionhijacking/cookiestealer.py", line 64, in getCookies
    logSession(source, setcookie)
  File "/usr/share/subterfuge/modules/sessionhijacking/cookiestealer.py", line 72, in logSession
    obj = sessions.objects.get(session = cookie)
  File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 131, in get
    return self.get_query_set().get(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 368, in get

3. Start can be activate, but FakeAP failed. All next possibility of subterfuge 
work without error message

What is the expected output? What do you see instead?
show last 3 points

What version of the product are you using? On what operating system?

subterfuge_1.0-1_all.deb (install with command dpkg -i and without error 
message) and last kali-linux (not virtual machine)

Please provide any additional information below.

Continu, you do a real good job :p

Original issue reported on code.google.com by jeremy.d...@gmail.com on 7 Jan 2014 at 9:17

GoogleCodeExporter commented 8 years ago
Have the same errors with version SubterfugePublicBeta5.0.tar.gz
So problem is with my Kali-Linux, but why?

Original comment by jeremy.d...@gmail.com on 7 Jan 2014 at 12:38

GoogleCodeExporter commented 8 years ago
We apologize for the inconvience, but the Wireless AP Generator MITM vector is 
still in early beta. The problem is likely with our code and not your Kali 
install. We hope to bring this vector out of beta shortly, but it still 
requires a good amount of work and testing. Thank you for using Subterfuge!

Original comment by topher.s...@gmail.com on 7 Jan 2014 at 12:55