Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #82

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
</p>

### Important Notice
Striker 2.0 is still in prototype phase, which means it's not intended to be used by regular users. It has been made public for contrbutions to make the development faster.\
Striker 2.0 is still in prototype phase, which means it's not intended to be used by regular users. It has been made public for contributions to make the development faster.\
**Usage:** `python3 striker.py example.com`

### Workflow
##### Phase 1: Attack Surface Discovery
This phase includes finding subdomains of the user specified domain, filtering alive hosts as well scanning of 1000 most common TCP ports.
##### Phase 2: Sweeping
Mass scanning of misconfigured HTTP response headers, croassdomain.xml as well as checks for some sensitive files is done in this phase.
Mass scanning of misconfigured HTTP response headers, crossdomain.xml as well as checks for some sensitive files is done in this phase.
##### Phase 3: Agressive Information Gathering
This phase is dedicated to data gathering by crawling the subdomains. The gathered data is used to find outdated JS libraries, detect CMS and technologies in use.\
HTML forms that are tested in later phases for vulnerability detection are also collected during this crawling.
Expand Down
2 changes: 1 addition & 1 deletion core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def make_list(data):

def var(name):
return core.config.globalVars[name]


def updateVar(name, value, mode=None):
if mode:
Expand Down
5 changes: 4 additions & 1 deletion modules/wappalyzer.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import re
import json

from core.utils import var, deJSON, make_list

signatures = var('tech_signatures')
with open('db/tech_signatures.json') as json_file:
signatures = json.load(json_file)

def wappalyzer(response, js, scripts):
result = []
Expand Down Expand Up @@ -50,3 +52,4 @@ def wappalyzer(response, js, scripts):
for tech in signatures['apps'][app]['implies']:
result.append(app)
return result
#signatures.close()
4 changes: 3 additions & 1 deletion striker.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@
for subdomain in dataset:
url = dataset[subdomain]['schema'] + '://' + subdomain
takeover = False
for each in var('sub_takeover'):
with open('db/sub_takeover.json') as json_file:
sub_db = json.load(json_file)
for each in sub_db:
for i in each['cname']:
if i in url:
try:
Expand Down