Skip to content

CSIRTAmericas/pypublicwww

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PUBLICWWW Python Library

This is a simple package to search https://publicwww.com, you need a valid key to search in publicwww

Installation

pip3 install pypublicwww

Usage as command

    publicwww [-h] [-apikey APIKEY] [-query QUERY] [-snippets] [-output [OUTPUT]] action
    positional arguments:
      action            Set action: init, info, search

SEARCH EXAMPLES

  • Query for all Wordpress in domains .ar getting snippets
publicwww search -query 'site:ar "Wordpress"' -snippets
  • Query for all Wordpress in domains .ar getting url
publicwww search -query 'site:ar "Wordpress"' 

If you add -ouput you will get the results in result.csv or -output /tmp/whatever.csv to get the result in /tmp/whatever.csv

Usage as library

  • Print account information
import pypublicwww
api = PyPublicWWW(apikey)
print(api.info())
  • Search for query and getting an export, you can add or not snippets
import pypublicwww
publicwww. = PyPublicWWW(apikey)
publicwww._search_websites( 'site:ar "Wordpress"', csv=True, snippets=True)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages