{"action":"closed","issue":{"url":"https://api.github.com/repos/sophron/wifiphisher/issues/138","repository_url":"https://api.github.com/repos/sophron/wifiphisher","labels_url":"https://api.github.com/repos/sophron/wifiphisher/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/sophron/wifiphisher/issues/138/comments","events_url":"https://api.github.com/repos/sophron/wifiphisher/issues/138/events","html_url":"https://github.com/sophron/wifiphisher/issues/138","id":101784147,"number":138,"title":"DHCP LEASE ! ","user":{"login":"Motasembt","id":13860765,"avatar_url":"https://avatars.githubusercontent.com/u/13860765?v=3","gravatar_id":"","url":"https://api.github.com/users/Motasembt","html_url":"https://github.com/Motasembt","followers_url":"https://api.github.com/users/Motasembt/followers","following_url":"https://api.github.com/users/Motasembt/following{/other_user}","gists_url":"https://api.github.com/users/Motasembt/gists{/gist_id}","starred_url":"https://api.github.com/users/Motasembt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Motasembt/subscriptions","organizations_url":"https://api.github.com/users/Motasembt/orgs","repos_url":"https://api.github.com/users/Motasembt/repos","events_url":"https://api.github.com/users/Motasembt/events{/privacy}","received_events_url":"https://api.github.com/users/Motasembt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-19T01:14:43Z","updated_at":"2016-04-10T20:02:20Z","closed_at":"2016-04-10T20:02:19Z","body":"hello there i have a problem please read my post untill the end\r\n i have awus036neh and i wanted to use wifi phisher so i read that it need 2 cards and support injection \r\nso i buy today TL-WN7200ND and i connect both cards and started \r\nthe problem is i dont get the lease when i try to connect o the fake ap \r\nso i search all the posts in here reporting the same problem \r\ni found two guys first one @sandman6578 said ( Come on guys. Is google that complicated?? I don’t think so. Alfa AWUS036H does NOT support Access point mode. There is no possible solution to fix this…. ) \r\nand the other guy @mehranexpert said ( Who said AWUS036H Not work in AP Mode ? airbase-ng -e -c -P wlan0mon\r\nalso it work on Evil Twin Attack ) \r\nok so use the command lsusb and here is the output \r\n\r\nBus 005 Device 004: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter\r\nBus 005 Device 008: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter\r\n\r\ni didnt know that they are the same chipset or maybe im wong ? the same driver i dont know \r\n\r\nso based on the issues and what @sophron said if you are using this chipset u will not get dhcp release ! because it not support AP mode . \r\n\r\nand in another post i saw a comment from @Ezat telling him to change the ap for injection here\r\nhttps://github.com/sophron/wifiphisher/issues/132#issuecomment-130782196\r\nthen i have try this command but the same problem my android device not connecting \r\n-----\r\nwhy i posted this post then ? ok i posted it because something else happen !!!  look \r\n\r\nJamming devices: \r\n[*] 90:18:7c:3f:59:20 - 10:fe:ed:a7:1f:6f - 1  - MooT\r\n[*] f0:27:65:fc:b4:f6 - 10:fe:ed:a7:1f:6f - 1  - MooT\r\n[*] 10:fe:ed:a7:1f:6f - 1  - MooT\r\n\r\nDHCP Leases: \r\n1439974203 f0:27:65:fc:b4:f6 10.42.0.45 android-782358e9b6b0e2bd 01:f0:27:65:fc:b4:f6\r\n\r\nHTTP requests: \r\n----\r\neven so it says DHCP Leases and i got a notification in my mobile says ( network need to sign in ) but i didnt catch that because i got disconnected from the fake ap !\r\nthat only happen 1 time \r\n---\r\nairmon-ng \r\nInterface\tChipset\t\tDriver\r\nwlan0\t\tRalink RT2870/3070\trt2800usb - [phy1]\r\nwlan4\t\tRalink RT2870/3070\trt2800usb - [phy3]\r\n---\r\nthe command i used and the dhcp worked for some seconds is \r\n/root/Downloads/wifiphisher-master/wifiphisher.py'  -aI wlan4 -jI wlan0\r\n----\r\njust to note something \r\nwlan0 is alfa awus036neh\r\nwlan4 tp link 7200nd\r\n---------\r\nso whats the problem ? and if both cards not supported why i got dhcp lease ? \r\n---\r\nat the end when i press CTRL + c i got this error first time i see \r\n^CException in thread Thread-4:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 552, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python2.7/threading.py\", line 505, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"/root/Downloads/wifiphisher-master/wifiphisher.py\", line 609, in channel_hop2\r\n    deauth(monchannel)\r\n  File \"/root/Downloads/wifiphisher-master/wifiphisher.py\", line 665, in deauth\r\n    send(p, inter=float(args.timeinterval), count=int(args.packets))\r\n  File \"/usr/lib/python2.7/dist-packages/scapy/sendrecv.py\", line 251, in send\r\n    __gen_send(conf.L3socket(*args, **kargs), x, inter=inter, loop=loop, count=count,verbose=verbose, realtime=realtime)\r\n  File \"/usr/lib/python2.7/dist-packages/scapy/arch/linux.py\", line 335, in __init__\r\n    set_promisc(self.ins, i)\r\n  File \"/usr/lib/python2.7/dist-packages/scapy/arch/linux.py\", line 138, in set_promisc\r\n    mreq = struct.pack(\"IHH8s\", get_if_index(iff), PACKET_MR_PROMISC, 0, \"\")\r\n  File \"/usr/lib/python2.7/dist-packages/scapy/arch/linux.py\", line 275, in get_if_index\r\n    return int(struct.unpack(\"I\",get_if(iff, SIOCGIFINDEX)[16:20])[0])\r\n  File \"/usr/lib/python2.7/dist-packages/scapy/arch/linux.py\", line 269, in get_if\r\n    ifreq = ioctl(s, cmd, struct.pack(\"16s16x\",iff))\r\nIOError: [Errno 19] No such device\r\n\r\n\r\n[!] Closing\r\nException in thread Thread-5 (most likely raised during interpreter shutdown):\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 552, in __bootstrap_inner\r\n  File \"/usr/lib/python2.7/threading.py\", line 505, in run\r\n  File \"/root/Downloads/wifiphisher-master/wifiphisher.py\", line 833, in sniff_dot11\r\n  File \"/usr/lib/python2.7/dist-packages/scapy/sendrecv.py\", line 577, in sniff\r\n  File \"/usr/lib/python2.7/dist-packages/scapy/arch/linux.py\", line 485, in recv\r\n<type 'exceptions.TypeError'>: an integer is required\r\n---\r\nhelp me @sophron  "}}