Commit graph

172 commits

Author SHA1 Message Date
NotoriousRebel cc7b0d0c51 stashing. 2018-12-29 21:29:25 -05:00
L1ghtn1ng 0483280a92 Fix issues that happened from fixing the merge conflict 2018-12-30 00:49:12 +00:00
L1ghtn1ng cd06a2666e Fix merge conflict 2018-12-30 00:34:21 +00:00
NotoriousRebel 0cf5ecf38d Cleaned up incorrectly added files. 2018-12-29 13:16:09 -05:00
NotoriousRebel d9b253f5c9 Resynced and changed variable names in regards to handling api calls, also cleaned up small mistakes in theHarvester.py 2018-12-29 13:14:40 -05:00
L1ghtn1ng aac90bc953 Remove a User Agent that triggers an IPS alert
Message: IPS Alert 1: A Network Trojan was Detected. Signature ET MALWARE Fun Web Products Spyware User-Agent (FunWebProducts). From: 10.0.0.60:39154, to: 204.79.197.200:80, protocol: TCP
2018-12-28 01:04:48 +00:00
L1ghtn1ng 8f953c6e33 Major tidy up of code to make certain things pep8 compliant and put parsers in to there own directory to tidy up the root tree 2018-12-28 00:49:56 +00:00
Janos Zold e6cf3e5fdf [FIX]censys pagination is now working as it should 2018-12-27 08:19:35 +00:00
NotoriousRebel f68a65768c Fixed bingapi. 2018-12-23 23:10:34 -05:00
NotoriousRebel 454d3387dc Fixing bingapi search and syncing. 2018-12-23 22:54:28 -05:00
NotoriousRebel dcb849de59 Made it return lower case. 2018-12-23 21:36:21 -05:00
NotoriousRebel eb37d4a7f4 Added another filtering rule. 2018-12-23 20:08:06 -05:00
NotoriousRebel b994a5d2f4 Added filtering method in constants.py and applied it to hostnames and emails in theHarvester.py 2018-12-23 19:54:56 -05:00
NotoriousRebel 09257e2247 Added class to handle missing api key and CSE id inside constants.py, implemented in respectful classes and inside theHarvester when it catches an exception it continues the program instead of sys.exit() 2018-12-23 15:23:01 -05:00
NotoriousRebel 2394ef1646 Cleaned up cosmetic issues. 2018-12-22 23:33:35 -05:00
NotoriousRebel c4d63d4d1f Syncing
Merge remote-tracking branch 'upstream/master'
2018-12-22 20:23:00 -05:00
NotoriousRebel 5c99df2643 Added securitytrailssearch.py to init.py in discovery directory and added more info to README.md 2018-12-22 20:20:55 -05:00
Christian Martorella d7f595516c
Merge branch 'master' into master 2018-12-22 22:52:08 +01:00
Christian Martorella 4fc780fe19 Fixed and expanded Censys
Expanded Censys to search certificates,hosts, ips.
2018-12-22 22:49:59 +01:00
NotoriousRebel 8dbbb4d82a Removed meta from url in trello and synced with master. 2018-12-22 15:43:53 -05:00
NotoriousRebel e2f2e07b76 Moved search method to constants.py also made it so it notifies user if google is blocking incoming requests, added search method to trello. 2018-12-22 14:06:27 -05:00
NotoriousRebel 6011dadbd7 Cleaned up trello search and modified theHarvester to utilize Trello to return hostnames and Trello urls. 2018-12-22 13:04:00 -05:00
NotoriousRebel 2a5d3221f1 Syncingþ
Merge remote-tracking branch 'upstream/master'
2018-12-21 21:16:31 -05:00
NotoriousRebel b959971423 Fixed trello plugin to properly extract urls, reflected in theHarvester.py 2018-12-21 20:14:30 -05:00
NotoriousRebel 52b7a7d427 Integrated security trails into all mode, and touched up minor cosmetics. 2018-12-21 17:47:15 -05:00
NotoriousRebel d76b3b8daa Added Security Trails API as plugin and added to theHarvester, also created parser for it. 2018-12-21 15:17:51 -05:00
NotoriousRebel 562fcd7a34 Made search get subdomains and general information about domain, need to work on parsing results. 2018-12-20 22:23:31 -05:00
NotoriousRebel a0dbd8101c Added authenticate method and have started working on adding a plugin for Security Trails search. 2018-12-20 20:31:54 -05:00
Laramies b7e7e285a2 Fixed GoogleCSE
Fixed API calls
2018-12-19 23:54:07 +01:00
Laramies 1006e05b7a Randomization
UA randomization and delays unified across Plugins.
2018-12-19 22:41:02 +01:00
NotoriousRebel 34437a918e Fixed small error in constants as well as constant User Agent for google and increased delay time if google starts blocking requests. 2018-12-19 16:40:26 -05:00
Laramies b1fabec6ed Minor fix
Changing to HTTPs
2018-12-19 22:37:22 +01:00
Laramies 990d84b8e5 Update googlesearch.py 2018-12-19 22:36:31 +01:00
NotoriousRebel 9245c57575 cleaned up minor whitespace. 2018-12-19 16:25:27 -05:00
NotoriousRebel 805b891f15 Increasing sleep time if google starts blocking requests. 2018-12-19 16:20:44 -05:00
Matt 1fd693d8e5
Update constants.py
Added docstring.
2018-12-18 18:02:56 -05:00
Matt 7821713d36
Update huntersearch.py
Removing unnecessary thing.
2018-12-18 00:23:07 -05:00
NotoriousRebel 239b0f31f9 Implemented randomization within plugins and cleaned up small bugs. 2018-12-18 00:21:05 -05:00
NotoriousRebel 7e225c49c7 Started process of refactoring to make plugins more uniform across, implemented successfully on googlesearch, also made special function to check if Google blocks traffic. 2018-12-17 22:48:22 -05:00
NotoriousRebel 6b4b0e5ee3 Resyncing and fixed program crashing if using search engine that doesn't define all_ip, and made print statements more logical. 2018-12-15 22:28:52 -05:00
NotoriousRebel f3597ee267 Syncing. 2018-12-15 22:07:37 -05:00
NotoriousRebel b1d979d335 Synching with master. 2018-12-15 22:01:39 -05:00
jzold 6b426a4c72
Add cymon search engine 2018-12-09 17:44:28 +00:00
jzold 505a71781d fix: optimize search with minimum number of page queries 2018-12-06 16:32:25 +00:00
Laramies 16057fd3de Update discovery/censys.py 2018-12-01 10:42:25 +01:00
Laramies e1ef6288ba Added Trello Search
New plugin to search public Trello boards
2018-12-01 10:39:01 +01:00
NotoriousRebel 8953b4d100 Made threatcrowd parse totalresults not just results, got censysparser to get pages and crawl them. 2018-11-29 16:48:36 -05:00
Christian Martorella eae4fe5927
Merge pull request #107 from NotoriousRebel/master
Modified discovery/crtsh.py to properly do searches.
2018-11-29 22:24:51 +01:00
NotoriousRebel 48cc8ce0de Updating
Merge remote-tracking branch 'upstream/master'
2018-11-28 17:16:44 -05:00
NotoriousRebel fcbca16ab1 Added random selection of user-agent, and sleep inbetween requests for crtsh.py 2018-11-28 14:40:58 -05:00
NotoriousRebel 31a77cc199 Added docstring to crtsh.py 2018-11-28 12:45:03 -05:00
NotoriousRebel 00c884af13 Got crtsh search working as problem was in get_hostnames first line replaced self.results to self.totalresults. 2018-11-27 23:45:19 -05:00
NotoriousRebel d8a8cb3ccc Confirmed request is returning correct thing and am close to figuring out parser issue. 2018-11-27 23:40:30 -05:00
NotoriousRebel f3788c6b41 Added method to get crt.sh ids and crawl them. 2018-11-27 22:05:51 -05:00
Laramies 590489fd5c Fixed GoogleCSE
Fixed API message, and error while executing due to order of storing data.
2018-11-27 23:29:05 +01:00
Laramies 36ceaab174 Google Certificates
Added new search engine Google Certificate Transparency and fixed temporarily Shodan
2018-11-23 00:31:21 +01:00
Christian Martorella c78acd2ffe
Merge branch 'master' into master 2018-11-22 22:49:00 +01:00
Christian Martorella 92b1a87246
Merge branch 'master' into master 2018-11-22 22:20:06 +01:00
Matt 40df2c71e6
Update googlesearch.py
Updated req.content to req.text for google dorks option
2018-11-22 16:03:37 -05:00
NotoriousRebel 2d14274a69 Got dns brute force working after replacing when index out of range error occurs just pass. 2018-11-22 12:22:03 -05:00
NotoriousRebel ea9c1f8abc Have narrowed down problem and patched up other problems. 2018-11-21 23:11:06 -05:00
NotoriousRebel cff87874dc Replaced IPy.py with current version that supports python3. 2018-11-21 16:53:19 -05:00
NotoriousRebel f04361ca82 Working on IPy.py doctests, cleaning up errors in it and fixed type conversion problem in getitem function. 2018-11-21 13:28:16 -05:00
NotoriousRebel e826dc663b Fixed most byte and str improper concats and now need to work on sockets not connecting properly. 2018-11-21 01:36:36 -05:00
NotoriousRebel d21e2846d7 Cleaned up imports and added proper casting from bytes to str. 2018-11-20 22:17:41 -05:00
NotoriousRebel d9b8b66286 Updated dnssearch to check if variable is defined. 2018-11-20 13:54:07 -05:00
Matt f10387da8e
Update lazy.py
Updated imports.
2018-11-20 13:35:34 -05:00
Matt 5ac0f86623
Update Lib.py
Updated imports.
2018-11-20 13:35:11 -05:00
NotoriousRebel 157ff0dc69 Converted more code to python3 shodan works for the most part. 2018-11-20 12:04:57 -05:00
NotoriousRebel 4ba7c685c0 CleaConverted more of the code to python3 and verified that running code with all search engines works except crtsh gets inside loop I think. 2018-11-19 21:27:53 -05:00
NotoriousRebel d38b1c4473 Replaced r.content with r.text in googlesearch to work properly. 2018-11-19 15:57:42 -05:00
NotoriousRebel 35bbfeaf44 Replacing httplib with requests. 2018-11-19 15:28:38 -05:00
NotoriousRebel 554ab59176 Cleaned up more python2 code and had to fix implicit conversion not happening in python3. 2018-11-19 15:00:19 -05:00
NotoriousRebel 57333e72db Fixed more print statements and tied up other loose odds and ends. 2018-11-15 12:52:33 -05:00
NotoriousRebel 2a20d3ff47 Starting the change from python2 to python3.7 2018-11-14 22:13:52 -05:00
Laramies d26ce55733 Update discovery/huntersearch.py 2018-11-15 00:05:19 +01:00
Laramies a2c97e9fc4 Update discovery/huntersearch.py
Changed limit to 100, to get more results in one go.
2018-11-15 00:04:04 +01:00
Christian Martorella 8e0fc46cbd
Merge pull request #101 from jzold/master
[New Feature - Censys]
2018-11-14 23:17:30 +01:00
Matt a0d3ae2409
Update googlesearch.py
Edited one time to decrease.
2018-11-09 12:46:56 -05:00
NotoriousRebel 221ffa4c84 Decreased time inbetween google dork searches to increase speed of it. 2018-11-09 12:45:54 -05:00
NotoriousRebel b92cdf07f5 Modified hunter search engine so user just specificies key in huntersearch.py! 2018-11-06 17:12:20 -05:00
NotoriousRebel 36eacf2267 Reworking hunter search engine to integrate more logically and better. 2018-11-05 18:54:32 -05:00
NotoriousRebel 444e7e1d96 Added hunter search engine and made sure it doesn't overwite previous data. 2018-11-05 15:15:36 -05:00
NotoriousRebel dc8e555c15 Updated huntersearch to work properly, have to verify it doesn't overwrite existing data. 2018-11-05 14:54:59 -05:00
NotoriousRebel bcdb9a66d4 Reworking huntersearch to integrate better and more logically. 2018-11-04 19:19:48 -05:00
NotoriousRebel 73642b5843 Reworking hunter search engine into theHarvester.py to work properly. 2018-11-04 19:15:07 -05:00
NotoriousRebel e7b22b94b7 Added hunter search engine and just need to test it, checked to make sure user key was not empty. 2018-11-04 17:26:34 -05:00
jzold 6cf3d18902 Censys implementation 2018-11-02 23:04:20 +00:00
NotoriousRebel ffd77542fe Merging to push update.
Merge branch 'master' of https://github.com/NotoriousRebel/theHarvester
2018-11-02 09:39:47 -04:00
NotoriousRebel 9d3c2b79db Added huntersearch class for huntersearches, requires an api key. 2018-11-02 09:36:51 -04:00
Christian Martorella 44d4d68990
Merge branch 'master' into master 2018-10-27 21:01:55 +02:00
Laramies 3f6253e8e6 Merge branch 'master' of https://github.com/laramies/theHarvester 2018-10-26 22:30:11 +02:00
Laramies 6903fde30c Change server for PGP
Set MIT as default server
2018-10-26 22:30:07 +02:00
NotoriousRebel 6e55a63c40 Made boolean to be an arguement instead of necessary in class as only used in one spot which is inside function. 2018-10-26 16:15:43 -04:00
NotoriousRebel 4ada84cf82 Cleaned up how to open file, and fixed how to open file in wfuzz. 2018-10-25 22:14:34 -04:00
Anton Bolshakov 214732a060
Update pgpsearch.py
I'm running a test with the standard example:
$ python2 theHarvester.py  -d microsoft.com -b pgp
However, the ```pgp.rediris.es``` server is dead.

This pull simply prints an error message to show the problem instead of returning 0 results. However, you might want to change the server to pgp.mit.edu as well (currently commented out).
2018-10-25 10:49:06 +08:00
NotoriousRebel 108ab7d5cf Shrunk dorks.txt to 200 to decrease chances of getting caught by google. 2018-10-24 20:49:48 -04:00
NotoriousRebel 079f63ee16 Reworked some more logic, and verified that the flag does get more hostnames and emails; although, the biggest obstacle is google blocking your ip. 2018-10-24 15:38:51 -04:00
NotoriousRebel c1fcf35aef Reworked logic, increased dorks.txt, and need to do a few test runs to verifiy dorking increases output. 2018-10-24 15:09:23 -04:00
NotoriousRebel 1630bce0bb Added some more docstring, about to restructure some logic, made it so if user can do normal google harvesting and google dorking as well. 2018-10-24 12:35:53 -04:00