Skip to content

Commit

Permalink
2018-02-27 Inflator-1.3
Browse files Browse the repository at this point in the history
Changed from "wash -o" to "wash >" in the ScanAP() function, Thanks to rofl0r.
  • Loading branch information
ChunshengZhao committed Feb 27, 2018
1 parent e0d735b commit 6ff4a02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ZhaoChunsheng Tianjin,China
- - - - - -
Changelog:

2018-02-27 Inflator-1.3
--- Changed from "wash -o" to "wash >" in the ScanAP() function, Thanks to rofl0r.

2018-02-26 Inflator-1.2
--- Fixed a bug in the ScanAP() function.

Expand Down
8 changes: 4 additions & 4 deletions inflator.fl
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ else
fclose(file_desc);
}} {}
Fl_Window {} {
label {Inflator 1.2(for Reaver v1.63)}
label {Inflator 1.3(for Reaver v1.63)}
callback WinQuit_CallBack open
xywh {656 113 575 360} type Double visible
} {
Expand Down Expand Up @@ -239,7 +239,7 @@ else
Fl_Button {} {
label Inflator
callback Box_About_CallBack
tooltip {Coded by ZhaoChunsheng (Tianjin, China) at 2018.02.26} xywh {23 324 96 30} box NO_BOX color 0 labelfont 5 labelcolor 232
tooltip {Coded by ZhaoChunsheng (Tianjin, China) at 2018.02.27} xywh {23 324 96 30} box NO_BOX color 0 labelfont 5 labelcolor 232
}
}
Fl_Group {} {
Expand Down Expand Up @@ -868,7 +868,7 @@ if(Button_ScanAP->value()==1)
Brower_APBrower->clear();

if(system("rm /tmp/Inflator/scanap*"));
char m_strtemp[256]="wash -o /tmp/Inflator/scanap.txt ";
char m_strtemp[256]="wash ";

strcat(m_strtemp,"-i ");
strcat(m_strtemp,m_WirelessMonDevNameSelect);//add wlan0mon device
Expand All @@ -889,7 +889,7 @@ if(Button_ScanAP->value()==1)
strcat(m_strtemp," -s");
}

strcat(m_strtemp," &");//add background command
strcat(m_strtemp," > /tmp/Inflator/scanap.txt &");//add background command

if(system(m_strtemp));//run command like this : wash -o /tmp/Inflator/scanap.txt -i mon0

Expand Down

0 comments on commit 6ff4a02

Please sign in to comment.