Skip to content

Commit

Permalink
poosh
Browse files Browse the repository at this point in the history
  • Loading branch information
Contra committed Mar 22, 2012
1 parent bb0ba15 commit f5b1978
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Expand Up @@ -22,6 +22,19 @@ Shodan = require 'shodan'
# Get an API key at http://shodanhq.com/api_doc
api = new Shodan 'Your API Key'

api.info (err, res) -> # Get API Key info
api.search 'wrt54g city:Phoenix', (err, res) -> # Run a search query
api.locations 'wrt54g', (err, res) -> # Run a location-oriented search query
api.host '216.197.103.72', (err, res) -> # Get all information on a host
api.fingerprint 'OpenSSH', (err, res) -> # Get software name for a banner

api.wps.locate '00:1D:7E:F0:A2:B0', (err, res) -> # Get address/location of a MAC address

api.exploits.search 'microsoft', (err, res) -> # Search ExploitDB
api.exploits.download '9939', (err, res) -> # Download exploit code

api.msf.search 'microsoft', (err, res) -> # Search Metasploit
api.msg.download 'exploit/windows/smb/smb_relay', (err, res) -> # Download metasploit module
```

## Examples
Expand Down

0 comments on commit f5b1978

Please sign in to comment.