Skip to content

Commit

Permalink
Updated the recon-ng export.rc file.
Browse files Browse the repository at this point in the history
  • Loading branch information
leebaird committed Nov 11, 2015
1 parent 72f0bd1 commit 63caf71
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 23 deletions.
15 changes: 6 additions & 9 deletions notes/recon-ng.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,11 @@ recon/domains-domains/brute_suffix

# Output

spool start <file>
show dashboards

query SELECT <field, field2|*> FROM <hosts|contacts|creds> WHERE <field>='value' ORDER BY <field>

query SELECT host, ip_address FROM hosts ORDER BY host
query SELECT last_name, first_name FROM contacts ORDER BY last_name

query SELECT email FROM contacts ORDER BY email
query SELECT * FROM contacts ORDER BY fname
query DELETE FROM hosts WHERE ip_address='192.168.2.12'
show hosts
query DELETE FROM hosts WHERE rowid="xx"

spool start /root/hosts.txt
query SELECT ip_address FROM hosts ORDER BY ip_address
spool stop
28 changes: 14 additions & 14 deletions resource/recon-ng/export.rc
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
spool start /opt/discover/tmp
show contacts
spool start /root/creds.txt
query SELECT username FROM credentials ORDER BY username
spool stop
spool start /opt/discover/tmp2
show creds

spool start /root/emails.txt
query SELECT email FROM contacts WHERE email !="" ORDER BY email
spool stop
spool start /opt/discover/tmp3
show hosts

spool start /root/hosts.txt
query SELECT ip_address FROM hosts ORDER BY ip_address
spool stop
spool start /opt/discover/tmp4
show leaks

spool start /root/names.txt
query SELECT last_name, first_name FROM contacts WHERE last_name !="" ORDER BY last_name
spool stop
spool start /opt/discover/tmp5
show ports

spool start /root/subdomains.txt
query SELECT host, ip_address FROM hosts ORDER BY host
spool stop
spool start /opt/discover/tmp6
show vulnerabilities
spool stop
back

0 comments on commit 63caf71

Please sign in to comment.