Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
44ce9dc
Logging / Request Downloads
killswitch-GUI Apr 10, 2016
4b344a6
Update LICENSE-Version
killswitch-GUI Apr 10, 2016
dabdca0
Logging / Download
killswitch-GUI Apr 10, 2016
6b9a96a
Update .travis.yml
killswitch-GUI Apr 10, 2016
39deb6f
Update .travis.yml
killswitch-GUI Apr 10, 2016
7087e2b
Update .travis.yml
killswitch-GUI Apr 10, 2016
8f0d979
Create .coveragerc
killswitch-GUI Apr 10, 2016
f7c8177
Update .travis.yml
killswitch-GUI Apr 10, 2016
271169f
Create test_simplyemail_list.py
killswitch-GUI Apr 10, 2016
dcd16f6
Create __init__.py
killswitch-GUI Apr 10, 2016
21359fe
nose tests
killswitch-GUI Apr 10, 2016
670521a
Update .travis.yml
killswitch-GUI Apr 10, 2016
9eeece7
Update .travis.yml
killswitch-GUI Apr 10, 2016
8af7d5d
nose tests
killswitch-GUI Apr 10, 2016
8598c8d
Update README.md
killswitch-GUI Apr 10, 2016
bcafdc8
Update .landscape.yml
killswitch-GUI Apr 11, 2016
2752427
Unit Testing
killswitch-GUI Apr 11, 2016
a1f44d8
Unit Testing
killswitch-GUI Apr 11, 2016
060c0c3
Unit Testing
killswitch-GUI Apr 11, 2016
6f3bac3
Unit Testing
killswitch-GUI Apr 12, 2016
4c4e445
Update .travis.yml
killswitch-GUI Apr 12, 2016
942733f
Update .travis.yml
killswitch-GUI Apr 12, 2016
79c97ad
Unit Testing
killswitch-GUI Apr 12, 2016
14107ef
Merge branch 'Version-1.4' of https://github.com/killswitch-GUI/Simpl…
killswitch-GUI Apr 12, 2016
db226db
Unit Testing
killswitch-GUI Apr 12, 2016
aedc85f
Unit Testing
killswitch-GUI Apr 12, 2016
8569b2c
Unit Testing
killswitch-GUI Apr 12, 2016
7b51894
Unit Testing
killswitch-GUI Apr 12, 2016
93dbd94
Unit Testing
killswitch-GUI Apr 12, 2016
4bed457
Unit Testing
killswitch-GUI Apr 12, 2016
8285ea3
Unit Testing
killswitch-GUI Apr 12, 2016
51396c2
Unit Testing
killswitch-GUI Apr 12, 2016
7569dc2
Unit Testing
killswitch-GUI Apr 12, 2016
1f17914
Unit Testing
killswitch-GUI Apr 12, 2016
ebd8c57
Unit Testing
killswitch-GUI Apr 12, 2016
f99266d
Unit Testing
killswitch-GUI Apr 13, 2016
26e29b5
Unit Testing
killswitch-GUI Apr 13, 2016
c757e78
Unit Testing
killswitch-GUI Apr 13, 2016
eb1f639
Unit Testing
killswitch-GUI Apr 13, 2016
0b5b483
Unit Testing
killswitch-GUI Apr 14, 2016
173b519
Unit Testing
killswitch-GUI Apr 14, 2016
80e777b
Unit Testing
invalid-email-address Apr 14, 2016
ade676c
Unit Testing
invalid-email-address Apr 14, 2016
77666d6
Added files via upload
killswitch-GUI Apr 14, 2016
26a26a2
Added files via upload
killswitch-GUI Apr 14, 2016
73406b2
Unit Testing
killswitch-GUI Apr 14, 2016
aff8026
v1.4 CSV Module
killswitch-GUI Apr 15, 2016
ebd8b95
PPTX Unit Testing
killswitch-GUI Apr 15, 2016
d3150e6
Ver 1.4 Updates
killswitch-GUI Apr 18, 2016
4ada866
Version 1.4 Fixes / Additions
killswitch-GUI Apr 19, 2016
3bd866b
Update .travis.yml
killswitch-GUI Apr 19, 2016
50f6d43
Version 1.4 Updates
killswitch-GUI Apr 19, 2016
58752df
Version 1.4 Updates
killswitch-GUI Apr 19, 2016
4eb24e2
Version 1.4 Updates
killswitch-GUI Apr 20, 2016
371ca6b
Update SimplyEmail.ini
killswitch-GUI Apr 20, 2016
4b603c8
Update README.md
killswitch-GUI Apr 20, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
*__init__*
1 change: 0 additions & 1 deletion .landscape.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
doc-warnings: no
test-warnings: no
strictness: veryhigh
max-line-length: 120
autodetect: yes
python-targets:
Expand Down
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
language: python
python:
- "2.7"
install:
- pip install coveralls
- pip install coverage
- pip install nose
- pip install python-magic
- pip install useragent fake_useragent
- pip install beautifulsoup4
- pip install mechanize
- pip install docx2txt
- pip install BeautifulSoup
- pip install --upgrade requests
- pip install xlsx2csv --upgrade
- pip install configparser
- pip install BeautifulSoup --upgrade
- pip install pdfminer --upgrade
- pip install python-docx
- pip install python-pptx
- pip install dnspython --upgrade
script:
- "sudo sh Setup.sh"
- "sudo ./SimplyEmail.py -l"
Expand All @@ -9,4 +27,7 @@ script:
- "sudo ./SimplyEmail.py -verify"
- "sudo ./SimplyEmail.py -s"
- "sudo ./SimplyEmail.py -s -e cybersyndicates.com"
- nosetests --with-coverage
after_success:
- coveralls

20 changes: 19 additions & 1 deletion Common/SimplyEmail.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
UserAgent: (Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
SaveFile: Email_List.txt
HtmlFile: Email_List.html
Version: v1.3
Version: v1.4
VersionRepoCheck: Yes
VersionRepoCheckLocation: https://raw.githubusercontent.com/killswitch-GUI/SimplyEmail/master/License/LICENSE-Version

Expand Down Expand Up @@ -104,12 +104,24 @@ StartQuantity: 0
QueryLimit: 20
QueryStart: 0

# Settings for Google pptx Search
[GooglePptxSearch]
StartQuantity: 0
QueryLimit: 20
QueryStart: 0

# Settings for Google docx Search
[GoogleDocxSearch]
StartQuantity: 0
QueryLimit: 20
QueryStart: 0

# Settings for Google csv Search
[GoogleCsvSearch]
StartQuantity: 0
QueryLimit: 20
QueryStart: 0

# Settings for PasteBin Search on Google
[GooglePasteBinSearch]
StartQuantity: 100
Expand All @@ -122,6 +134,12 @@ StartQuantity: 30
QueryLimit: 100
QueryStart: 0

# Settings for Exalead Search
[ExaleadPPTXSearch]
StartQuantity: 30
QueryLimit: 100
QueryStart: 0

# Settings for Exalead PDF Search
[ExaleadPDFSearch]
StartQuantity: 30
Expand Down
12 changes: 12 additions & 0 deletions Common/SimplyEmailAggressive.ini
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ StartQuantity: 0
QueryLimit: 500
QueryStart: 0

# Settings for Google pptx Search
[GooglePptxSearch]
StartQuantity: 0
QueryLimit: 20
QueryStart: 0

# Settings for Google docx Search
[GoogleDocxSearch]
StartQuantity: 0
Expand All @@ -121,6 +127,12 @@ StartQuantity: 30
QueryLimit: 400
QueryStart: 0

# Settings for Exalead Search
[ExaleadPPTXSearch]
StartQuantity: 30
QueryLimit: 400
QueryStart: 0

# Settings for Exalead PDF Search
[ExaleadPDFSearch]
StartQuantity: 30
Expand Down
171 changes: 171 additions & 0 deletions Common/SimplyEmailTest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
[GlobalSettings]
UserAgent: (Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
SaveFile: Email_List.txt
HtmlFile: Email_List.html
Version: v1.3
VersionRepoCheck: Yes
VersionRepoCheckLocation: https://raw.githubusercontent.com/killswitch-GUI/SimplyEmail/master/License/LICENSE-Version

[ProcessConfig]
TottalProcs: 8

# API keys will be labeld
# By the service
[APIKeys]
Canario:

# Settings for HTML Scrapping module
# Save can add in a path - default is the SimpleEmail folder with domain name
[HtmlScrape]
Depth: 1
Wait: 0
LimitRate: 10000k
Timeout: 2
Maxfilesize:
Save:
RemoveHTML: Yes

# You can use a few diffrent Key Servers so a config may be a good idea for this
[SearchPGP]
KeyServer: pgp.rediris.es:11371
Hostname: pgp.rediris.es

# Settings for Google Search
[GoogleSearch]
StartQuantity: 100
QueryLimit: 100
QueryStart: 0

#Flickr Settings
[FlickrSearch]
Hostname: flickr.com

#GitHub Code Scraping settigns
#Page Depth: WARNING every page can contain upto 30 users and multiple links to scrape, this can slow down the results obtain very fast
[GitHubSearch]
PageDepth: 1
QueryStart: 1

#StartPAge Search engine settings
[StartPageSearch]
StartQuantity: 100
QueryLimit: 100
QueryStart: 0

#YahooSearch engine settings
[YahooSearch]
StartQuantity: 100
QueryLimit: 100
QueryStart: 0

#Canary PasteBin Search NON-API
[CanaryPasteBin]
PageDepth: 1
QueryStart: 1
MaxPastesToSearch: 5

# Search Git Hub Gist code
# Page Depth: WARNING every page can contain upto 30 users and multiple links to scrape, this can slow down the results obtain very fast
[GitHubGistSearch]
PageDepth: 1
QueryStart: 1

# Ask Search Engine Search
[AskSearch]
QueryPageLimit: 1
QueryStart: 0

# Search Github Users
# This can return a TON of users, but dependent on parser
[GitHubUserSearch]
PageDepth: 1
QueryStart: 1

# Settings for ReditPost search
[RedditPostSearch]
QueryLimit: 100
QueryStart: 0

# Settings for Google PDF Search
[GooglePDFSearch]
StartQuantity: 0
QueryLimit: 10
QueryStart: 0

# Settings for Google doc Search
[GoogleDocSearch]
StartQuantity: 0
QueryLimit: 10
QueryStart: 0

# Settings for Google csv Search
[GoogleCsvSearch]
StartQuantity: 0
QueryLimit: 20
QueryStart: 0

# Settings for Google pptx Search
[GooglePptxSearch]
StartQuantity: 0
QueryLimit: 20
QueryStart: 0

# Settings for Google csv Search
[GoogleCsvSearch]
StartQuantity: 0
QueryLimit: 20
QueryStart: 0

# Settings for Google xlsx Search
[GoogleXlsxSearch]
StartQuantity: 0
QueryLimit: 10
QueryStart: 0

# Settings for Google docx Search
[GoogleDocxSearch]
StartQuantity: 0
QueryLimit: 10
QueryStart: 0

# Settings for PasteBin Search on Google
[GooglePasteBinSearch]
StartQuantity: 100
QueryLimit: 100
QueryStart: 0

# Settings for Exalead Search
[ExaleadSearch]
StartQuantity: 30
QueryLimit: 100
QueryStart: 0

# Settings for Exalead Search
[ExaleadPPTXSearch]
StartQuantity: 30
QueryLimit: 100
QueryStart: 0

# Settings for Exalead PDF Search
[ExaleadPDFSearch]
StartQuantity: 30
QueryLimit: 20
QueryStart: 0

# Settings for Exalead DOC Search
[ExaleadDOCSearch]
StartQuantity: 30
QueryLimit: 20
QueryStart: 0

# Settings for Exalead DOCX Search
[ExaleadDOCXSearch]
StartQuantity: 30
QueryLimit: 20
QueryStart: 0

# Settings for Exalead XLSX Search
[ExaleadXLSXSearch]
StartQuantity: 30
QueryLimit: 20
QueryStart: 0
16 changes: 8 additions & 8 deletions Common/TaskController.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,26 +243,26 @@ def CleanResults(self, domain, scope=False):
self.logger.info("Completed cleaning results")
return FinalList, HtmlFinalList

def Consumer(self, Results_queue):
def Consumer(self, Results_queue, verbose):
while True:
try:
item = Results_queue.get()
if item is None:
break
self.ConsumerList.append(item)
except Exception as e:
if self.Verbose:
if verbose:
print e

def HtmlConsumer(self, Html_queue):
def HtmlConsumer(self, Html_queue, verbose):
while True:
try:
item = Html_queue.get()
if item is None:
break
self.HtmlList.append(item)
except Exception as e:
if self.Verbose:
if verbose:
print e

def TaskSelector(self, domain, verbose=False, scope=False, Names=False, Verify=False):
Expand Down Expand Up @@ -309,11 +309,11 @@ def TaskSelector(self, domain, verbose=False, scope=False, Names=False, Verify=F
# 4) once finshed, than release by a break
# 5) finally the Results_queue would be empty
# 6) All procs can finally join!
t = threading.Thread(target=self.Consumer, args=(Results_queue,))
t = threading.Thread(target=self.Consumer, args=(Results_queue, verbose,))
t.daemon = True
t.start()
# Start Html Consumer / Trying to keep these seprate
t2 = threading.Thread(target=self.HtmlConsumer, args=(Html_queue,))
t2 = threading.Thread(target=self.HtmlConsumer, args=(Html_queue, verbose,))
t2.daemon = True
t2.start()
# Enter this loop so we know when to terminate the Consumer thread
Expand Down Expand Up @@ -424,11 +424,11 @@ def TestModule(self, domain, module, verbose=False, scope=False, Names=False, Ve
# 4) once finshed, than release by a break
# 5) finally the Results_queue would be empty
# 6) All procs can finally join!
t = threading.Thread(target=self.Consumer, args=(Results_queue,))
t = threading.Thread(target=self.Consumer, args=(Results_queue, verbose,))
t.daemon = True
t.start()
# Start Html Consumer / Trying to keep these seprate
t2 = threading.Thread(target=self.HtmlConsumer, args=(Html_queue,))
t2 = threading.Thread(target=self.HtmlConsumer, args=(Html_queue, verbose,))
t2.daemon = True
t2.start()
# Enter this loop so we know when to terminate the Consumer thread
Expand Down
Loading