{"action":"created","issue":{"url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/issues/1022","repository_url":"https://api.github.com/repos/jbenden/aircrack-ng-migration","labels_url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/issues/1022/labels{/name}","comments_url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/issues/1022/comments","events_url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/issues/1022/events","html_url":"https://github.com/jbenden/aircrack-ng-migration/issues/1022","id":297074047,"number":1022,"title":"swap pkh.len when running o a big endian machine","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":[{"id":836763959,"url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/labels/%23general","name":"#general","color":"0000aa","default":false},{"id":836764048,"url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/labels/@major","name":"@major","color":"f6f6f6","default":false},{"id":836757492,"url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/milestones/9","html_url":"https://github.com/jbenden/aircrack-ng-migration/milestone/9","labels_url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/milestones/9/labels","id":3115160,"number":9,"title":"1.2","description":"  * ~~Improve cracking speed~~\r\n  * ~~Phase out old airmon-ng in favor of airmon-zc~~\r\n  * ~~Support recent version of GPSd (with JSON)~~\r\n  * ~~Improve building code and testing~~\r\n  * ~~Support libnl~~\r\n  * ~~Radiotap fixes (causing wrong channel displayed)~~\r\n  * ~~Airbase-ng fixes and improvements~~\r\n  * Autotools\r\n  * Hashcat output (HCCAPx)","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":5,"closed_issues":104,"state":"open","created_at":"2018-02-14T01:31:01Z","updated_at":"2018-02-14T12:12:37Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-02-14T12:12:37Z","updated_at":"2018-02-14T12:12:37Z","closed_at":null,"author_association":"OWNER","body":"**Reported by clopez on 26 Jul 2012 01:49 UTC**\n\nHello,\n\nWhile doing tests with aircrack-ng I discovered that the first test:\n\n```\n./aircrack-ng$(EXE) -w $(TEST_DIR)/password.lst -a 2 -e Harkonen -q $(TEST_DIR)/wpa2.eapol.cap | grep 'KEY FOUND! \\[ 12345678 \\]' \n```\n\nWill not work on a big endian architecture.\n\nIf you run:\n```\naircrack-ng -w test/password.lst -a 2 -e Harkonen test/wpa2.eapol.cap \n```\n\nYou will get only a message saying \"Reading packets, please wait... and nothing more, Aircrack-ng will get stuck at this point.\n\nAfter digging on the source code I found that the problem was on:\n\n```\nif ((int)pkh.len - z < st_cur->wpa.eapol_size )\n{\n   continue;\n}\n```\n\n  * On a little endian machine, on this particular test, phk.len contains 99000000 and therefore (int)pkh.len is 153\n\n  * On a big endian machine, on this particular test, phk.len contains also 99000000 and therefore (int)phk.len is -1728053248 thus making all after this fail.\n\n\nMigrated-From: https://trac.aircrack-ng.org/ticket/1022"},"comment":{"url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/issues/comments/365589236","html_url":"https://github.com/jbenden/aircrack-ng-migration/issues/1022#issuecomment-365589236","issue_url":"https://api.github.com/repos/jbenden/aircrack-ng-migration/issues/1022","id":365589236,"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},"created_at":"2018-02-14T12:12:37Z","updated_at":"2018-02-14T12:12:37Z","author_association":"OWNER","body":"**Attachment by clopez on 26 Jul 2012 01:52 UTC**\n\nUploaded file [fix-bigendianissues.diff](https://github.com/aircrack-ng/trac-attachments/blob/master/1022/20120726-015210_000-fix-bigendianissues.diff)\n\n"}}
{"actor":{"display_login":"jbenden"}}