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
//ASN API with Standard or Pro plan | |
$curl ipinfo.io/AS25/json\?token\=xxxxxxx | |
{ | |
"asn": "AS25", | |
"name": "University of California at Berkeley", | |
"country": "US", | |
"allocated": "1984-08-03", | |
"registry": "arin", | |
"domain": "berkeley.edu", | |
"num_ips": 202496, |
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
<form> | |
<div class="row"> | |
<div class="medium-6 columns"> | |
<label>Search | |
<input id="searchText" type="text" placeholder="search"> | |
</label> | |
<label>Search by: | |
<select id="searchField"> | |
<option value="name">Name</option> | |
<option value="city">City</option> |
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
{ | |
"ip":"71.6.216.54", | |
"seen":True, | |
"first_seen":"2017-09-20", | |
"last_seen":"2018-08-07", | |
"actor":"Project Sonar", | |
"tags":[NETBIOS Scanner,POP3 Scanner,Telnet Scanner,IOT MQTT Scanner,MongoDB Scanner,CounterStrike Server Scanner,FTP Scanner,LDAP Scanner,IMAP Scanner,VNC Scanner,ZMap Client,DNS Scanner,Bitcoin Node Scanner,Elasticsearch Scanner,MySQL Scanner,SSDP/UPNP Scanner,RDP Scanner,SSH Scanner,HTTP Alt Scanner,PPTP VPN Scanner,MSSQL Scanner,Ethereum Node Scanner,SMTP Scanner,Redis Scanner,VOIP Scanner,Ping Scanner,NTP Scanner,Memcached Scanner,Squid Proxy Scanner,SMB Scanner,Web Scanner | |
], | |
"metadata":{ | |
"country":"United States", "country_code":"US", |
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
{ | |
"ip":"71.6.216.54", | |
"seen":True, | |
"first_seen":"2017-09-20", | |
"last_seen":"2018-08-07", | |
"actor":"Project Sonar", | |
"tags":[NETBIOS Scanner,POP3 Scanner,Telnet Scanner,IOT MQTT Scanner,MongoDB Scanner,CounterStrike Server Scanner,FTP Scanner,LDAP Scanner,IMAP Scanner,VNC Scanner,ZMap Client,DNS Scanner,Bitcoin Node Scanner,Elasticsearch Scanner,MySQL Scanner,SSDP/UPNP Scanner,RDP Scanner,SSH Scanner,HTTP Alt Scanner,PPTP VPN Scanner,MSSQL Scanner,Ethereum Node Scanner,SMTP Scanner,Redis Scanner,VOIP Scanner,Ping Scanner,NTP Scanner,Memcached Scanner,Squid Proxy Scanner,SMB Scanner,Web Scanner | |
], | |
"metadata":{ | |
"country":"United States", "country_code":"US", |
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
{ | |
"ip":"35.229.66.123", | |
"seen":False, | |
"first_seen":"", | |
"last_seen":"", | |
"actor":"", | |
"tags":[ | |
], | |
"metadata":{ | |
"country":"", "country_code":"", |
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
{ | |
"ip":"", | |
"seen":, | |
"first_seen":"", | |
"last_seen":"", | |
"actor":"", | |
"tags":[ | |
], | |
"metadata":{ | |
"country":"", "country_code":"", |
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
{ | |
"ip":"35.229.66.123", | |
"seen":False, | |
"first_seen":"", | |
"last_seen":"", | |
"actor":"", | |
"tags":[ | |
], | |
"metadata":{ | |
"country":"", "country_code":"", |
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
{ | |
"ip":"45.33.1.250", | |
"seen":False, | |
"first_seen":"", | |
"last_seen":"", | |
"actor":"", | |
"tags":[ | |
], | |
"metadata":{ | |
"country":"", "country_code":"", |
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
// XPath CheatSheet | |
// To test XPath in your Chrome Debugger: $x('/html/body') | |
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
// 0. XPath Examples. | |
// More: http://xpath.alephzarro.com/content/cheatsheet.html | |
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |
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
from lxml import html | |
import requests | |
import unicodecsv as csv | |
import argparse | |
def parse(zipcode,filter=None): | |
if filter=="newest": | |
url = "https://www.zillow.com/homes/for_sale/{0}/0_singlestory/days_sort".format(zipcode) | |
elif filter == "cheapest": |
OlderNewer