forked from aircrack-ng/aircrack-ng-archive
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aireplay-ng: Fix for missing APs in 5 GHz band
If channel cannot be obtained from the 'DSSS Parameter Set' element (tagtype 3), then try to get the channel from the 'HT Operation' element (tagtype 61).
- Loading branch information
Showing
1 changed file
with
52 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Job! I reported an issue about that problem in aircrack-ng trac and your patch solved the issue, I can inject now on my PA. in 5Ghz, before I couldn't! Thanks
8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got AWU036ACH and i could not inject on 5 Ghz band, Please help on How to apply this commit? do i have to paste the code in bloc note and save it in .py file and then run the file?
8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zpsmack
You can download the commit as a patch using this link:
https://github.com/jpmv27/aircrack-ng/commit/8199c04357ea05daaf2de2ae7eebb28d30baef87.patch
and then use the 'patch' utility to apply it.
8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your fee-back,
`patch <8199c04357ea05daaf2de2ae7eebb28d30baef87.patch
File to patch: ?????`
I thinks i need to specify the path of the aireplay installed file?
est ce /usr/sbin/ ?
8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zpsmack
Le fichier correctif (patch) contient les noms des fichiers à corriger, donc aucun besoin de les spécifier de façon explicite.
Mais tu mentionnes
/usr/sbin
. Le correctif s'applique aux fichiers-source et après avoir appliqué le correctif il faut recompiler le logiciel et le réinstaller.Il faut se situer (
cd
) dans le répertoire contenant les sources du logiciel avant d'appliquer le correctif.Il peut aussi être nécessaire de passer l'option
-p1
àpatch
.8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A vrai dire je ne sais pas ou se trouve le fichier source, suis pas un pro..... peut être dans /usr/local/etc/ ?
Cependant, j'ai une version du fichier aireplay-ng.c que j'avais téléchargé en clonant ton repot (git clone https://github.com/jpmv27/aircrack-ng.git)
j'ai mis le patch dans le rep ci-dessous
root@kali:~/aircrack-ng/src/
A partir d'ici
Pour ré compiler le fichier patcher
la compilation ne marche pas, peux-tu aider s'il te plaît?
8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Généralement, je construit et installe le tout avec:
make
sudo make install
Note que ça va installer les programmes sous
/usr/local
au lieu de/usr
.8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
A priori j'ai un message d'erreur
8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sudo apt-get install libnl-genl-3-dev
et refait
make
.8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
je l'avais déjà fait
Je reçois toujours le même message d'erreur cependant
8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mais il cherche
libnl-genl-3-dev
paslibnl-3-dev
, non?8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, autant pour moi,
c'est fait est plus de message d'erreur, j'ai compilé à partir du rep que j'ai cloné de ton repo
je vais testé demain l'injection en 5Ghz si ça marche et reviens vers toi
Merci beacoup
8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
il me semble qu'il y avait deux comit à appliqué pour ressourdre ce problème et celui ?
aireplay-ng: Increase MAX_APS and use it consistently
8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Si tu as cloné mon répo, tu auras les deux commits.
Tu devrais les voir tous deux dans
git log
8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est bon ça marche bien,
Merci pour ton aide
8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jpmv27 Im running into a strange issue where 'make' fails to compile your git clone with the following error:
What am I missing?
8199c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rawkahn
Do you have the "pkg-config" package installed?
MV