Commit graph

79 commits

Author SHA1 Message Date
Tejasvi Nareddy
78a3451c03 Merge remote-tracking branch 'upstream/master' into async-requests
# Conflicts:
#	.gitignore
#	requirements.txt
#	sherlock.py
2018-12-30 00:10:31 -05:00
mpieters93
51ce9fc10b
Merge branch 'master' into tor 2018-12-29 15:59:30 +01:00
Christopher K. Hoadley
d9e600d05d Add support for writing to Comma-Separated Values (CSV) File with all of the results. Unfortunately, the request text is so long that it is not visible in spreadsheet programs. So, I am leaving this off for now. 2018-12-28 22:32:30 -06:00
Christopher K. Hoadley
b17072b3cd Change sherlock method to return dictionary summarizing all results. This will allow the caller to have raw information for other reports. 2018-12-28 22:28:47 -06:00
Mike Pieters
feef27b2e4 Removed accidental whitespace 2018-12-29 02:45:19 +01:00
Mike Pieters
49f65021bb Adds option to use new TOR circuit for each request 2018-12-29 02:31:31 +01:00
Mike Pieters
b2cb0506a3 Adds option to connect over TOR 2018-12-29 01:50:25 +01:00
Siddharth Dushantha
6fcc62f500 new image, did some PEP8, and organized the code 2018-12-28 20:15:41 +01:00
Mike Pieters
8659c0fbe1 Altered regex_check logic 2018-12-28 17:39:10 +01:00
Christopher K. Hoadley
ed8513fd06 Update Command Line Interface: Accept List Of User Names, Add Version
Revamp command line interface.  Allow user to pass a list of user names on the command line.  Update readme to illustrate actual usage.

Pass debug option in argument list instead of depending on the global variable.  This should probably all be reworked to use the logging module.
2018-12-26 21:54:25 -06:00
Christopher K. Hoadley
4067991b59 Replace noPeriod attribute in JSON file with a regexCheck attribute. If this does not exist in the JSON file, then there will be a default regular expression that will be used. By default, the allowed user name pattern requires that the first character is alphabetic, while the following characters are either alphanumeric or ".", "_", or "-". Also, specifically indicate that the user name is invalid in the feedback. 2018-12-26 19:41:11 -06:00
Siddharth Dushantha
94a58614fb
Merge pull request #15 from shijuleon/master
Refactor error printing code
2018-12-26 19:00:34 +01:00
shijuleon
804c5d3fc8 Refactor error printing code 2018-12-26 22:55:28 +05:30
Christopher K. Hoadley
dd8d36741d Fix bug that incorrectly said that all user names were not supported for any site that would not allow a dot in the user name.
The check for the dot should only happen if the user has a dot in the name.
2018-12-26 11:13:18 -06:00
shijuleon
69480d82fb Removed banner from help 2018-12-26 21:01:53 +05:30
Shiju Leon
58dff89e5e
Merge branch 'master' into master 2018-12-26 19:22:15 +05:30
Master
b59dc55631 cleanup, fixed handling connection error exception 2018-12-26 15:16:49 +02:00
Siddharth Dushantha
930ffd19db
fixed styling on the ascii art 2018-12-26 13:45:38 +01:00
Siddharth Dushantha
52d1c09c21
Merge pull request #8 from ronaldseoh/enforce-encoding
enforce utf-8 encoding when we open data.json
2018-12-26 13:42:31 +01:00
Siddharth Dushantha
41a44be6cd fixed issue #9 2018-12-26 13:29:26 +01:00
shijuleon
ff2f42cc38 Better error printing. Debug mode 2018-12-26 15:40:09 +05:30
shijuleon
7f65018746 Add argparse. Styling in error messages 2018-12-26 13:56:03 +05:30
Siddharth Dushantha
ad23efc785 fixed #2, added new method for response_url and gitignore 2018-12-26 09:22:37 +01:00
Ronald Seoh
9c12834217 enforce utf-8 encoding when we open data.json 2018-12-26 10:34:47 +09:00
Simeon Visser
10582b629e Ensure raw file is automatically closed 2018-12-25 20:17:39 +00:00
Tejasvi Nareddy
971a88dd1e Asynchronous requests
Improves performance greatly
2018-12-25 14:19:21 -05:00
Tejasvi Nareddy
8ed7a39b86 Reformat file 2018-12-25 13:14:39 -05:00
shijuleon
dbfd332ca5 HTTP requests error handling, adding cmdline params 2018-12-25 21:31:01 +05:30
Siddharth Dushantha
f9dd54df2b
Add files via upload 2018-12-24 15:31:34 +01:00