Skip to content

Commit

Permalink
Fixed recon-ng path in Domain->Passive to reference the absolute path…
Browse files Browse the repository at this point in the history
… of the rc files.
  • Loading branch information
ninewires committed May 22, 2019
1 parent 1bfd439 commit 7e95c99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ s/Mcs/McS/g; s/ Ui / UI /g; s/ Ux / UX /g; s/,,/,/g' > tmp6
cat $discover/resource/recon-ng-cleanup.rc >> passive.rc
sed -i "s/yyy/$domain/g" passive.rc

recon-ng --no-check -r passive.rc
recon-ng --no-check -r $CWD/passive.rc

##############################################################

Expand All @@ -720,7 +720,7 @@ s/Mcm/McM/g; s/Mcn/McN/g; s/Mcp/McP/g; s/Mcq/McQ/g; s/Mcs/McS/g' | sort -u > use
cat $discover/resource/recon-ng-cleanup.rc >> passive2.rc
sed -i "s/yyy/$domain/g" passive2.rc

recon-ng --no-check -r passive2.rc
recon-ng --no-check -r $CWD/passive2.rc

##############################################################

Expand Down

0 comments on commit 7e95c99

Please sign in to comment.