{"action":"opened","issue":{"url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/issues/908","repository_url":"https://api.github.com/repos/jbenden/aircrack-ng-migration","labels_url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/issues/908/labels{/name}","comments_url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/issues/908/comments","events_url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/issues/908/events","html_url":"https://github.com/jbenden/aircrack-ng-migration/issues/908","id":297061329,"number":908,"title":"airmon-ng freezes on iwlagn chipset","user":{"login":"jbenden","id":73767,"avatar_url":"https://avatars3.githubusercontent.com/u/73767?v=4","gravatar_id":"","url":"https://api.github.com/users/jbenden","html_url":"https://github.com/jbenden","followers_url":"https://api.github.com/users/jbenden/followers","following_url":"https://api.github.com/users/jbenden/following{/other_user}","gists_url":"https://api.github.com/users/jbenden/gists{/gist_id}","starred_url":"https://api.github.com/users/jbenden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbenden/subscriptions","organizations_url":"https://api.github.com/users/jbenden/orgs","repos_url":"https://api.github.com/users/jbenden/repos","events_url":"https://api.github.com/users/jbenden/events{/privacy}","received_events_url":"https://api.github.com/users/jbenden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/milestones/10","html_url":"https://github.com/jbenden/aircrack-ng-migration/milestone/10","labels_url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/milestones/10/labels","id":3115161,"number":10,"title":"1.3","description":"  * Improved WPA handshake detection in Airodump-ng\r\n  * Airodump-ng: Save WPA handshakes to separate pcap files (to include one beacon/probe) and allows to quit when done processing\r\n  * Aircrack-ng: Integrate WPA clean (and allows to clean up the handshake) and better display of handshakes\r\n  * Aircrack-ng: Support cowpatty tables\r\n  * Airodump-ng: JSON output format","creator":{"login":"jbenden","id":73767,"avatar_url":"https://avatars3.githubusercontent.com/u/73767?v=4","gravatar_id":"","url":"https://api.github.com/users/jbenden","html_url":"https://github.com/jbenden","followers_url":"https://api.github.com/users/jbenden/followers","following_url":"https://api.github.com/users/jbenden/following{/other_user}","gists_url":"https://api.github.com/users/jbenden/gists{/gist_id}","starred_url":"https://api.github.com/users/jbenden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbenden/subscriptions","organizations_url":"https://api.github.com/users/jbenden/orgs","repos_url":"https://api.github.com/users/jbenden/repos","events_url":"https://api.github.com/users/jbenden/events{/privacy}","received_events_url":"https://api.github.com/users/jbenden/received_events","type":"User","site_admin":false},"open_issues":136,"closed_issues":41,"state":"open","created_at":"2018-02-14T01:31:01Z","updated_at":"2018-02-14T11:26:44Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-02-14T11:26:43Z","updated_at":"2018-02-14T11:26:43Z","closed_at":null,"author_association":"OWNER","body":"**Reported by breen machine on 17 Jul 2011 15:29 UTC**\n\nThe newest version of airmon-ng gets stuck in a while loop around line 352 because the format of the string it gets from dmesg seems to be different than what it expects.\n\nThe fix is easy, you just have to stop searching for the word \"Link\" in the string if you reach the end of it.\n\nMy bash scripting skills aren't great so this might have been a stupid way to do it, but here is the relevant section of code with a fix applied:\n\n\n```\n        FOUND=\"0\"\n        DONE=\"0\"\n\n\n        if [ x\"$DETECTED_STR\" != \"x\" ]\n        then\n                while [ $FOUND = \"0\" ]\n                do\n                        FOUND=`echo \"$DETECTED_STR\" | cut -d' ' -f $LINK_POS | grep Link | wc -l`\n                        LINK_POS=$(($LINK_POS+1))\n                        DONE=`echo \"$DETECTED_STR\" | cut -d ' ' -f \"$LINK_POS\"- | wc -c`\n\n                        if [ $DONE = \"1\" ]\n                        then\n                                break\n                        fi\n                done\n\n```\n\n\nMigrated-From: https://trac.aircrack-ng.org/ticket/908"}}
{"actor":{"display_login":"jbenden"}}