fire-marshal-ebay 0.0.1-security.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fire-marshal-ebay might be problematic. Click here for more details.
- package/PadBuster/LICENSE +202 -0
- package/PadBuster/README +16 -0
- package/PadBuster/padBuster.pl +889 -0
- package/confused/.github/workflows/codeql-analysis.yml +67 -0
- package/confused/.github/workflows/golangci-lint.yml +28 -0
- package/confused/.goreleaser.yml +40 -0
- package/confused/CHANGELOG.md +31 -0
- package/confused/LICENSE +21 -0
- package/confused/README.md +93 -0
- package/confused/composer.go +105 -0
- package/confused/confused +0 -0
- package/confused/interfaces.go +11 -0
- package/confused/main.go +104 -0
- package/confused/mvn.go +120 -0
- package/confused/mvnparser.go +139 -0
- package/confused/npm.go +210 -0
- package/confused/packages.json +86 -0
- package/confused/pip.go +99 -0
- package/confused/util.go +11 -0
- package/index.js +47 -0
- package/package.json +9 -4
- package/synackAPI/Dockerfile +36 -0
- package/synackAPI/README.md +238 -0
- package/synackAPI/RHINOSPIDER/burpOOS.txt +25 -0
- package/synackAPI/RHINOSPIDER/burpScope.txt +1 -0
- package/synackAPI/RHINOSPIDER/scope.txt +1 -0
- package/synackAPI/bot.py +72 -0
- package/synackAPI/checkCerts.py +67 -0
- package/synackAPI/connect.py +9 -0
- package/synackAPI/currentTarget +24 -0
- package/synackAPI/getAnalytics.py +40 -0
- package/synackAPI/getHydra.py +46 -0
- package/synackAPI/getPayouts.py +11 -0
- package/synackAPI/getscope.py +123 -0
- package/synackAPI/polling.py +27 -0
- package/synackAPI/register.py +7 -0
- package/synackAPI/requirements.txt +7 -0
- package/synackAPI/synack.py +1046 -0
- package/synackAPI/synstats.py +54 -0
- package/synackAPI/target.py +17 -0
- package/README.md +0 -5
@@ -0,0 +1,54 @@
|
|
1
|
+
from synack import synack
|
2
|
+
from datetime import datetime
|
3
|
+
from os import path
|
4
|
+
import csv
|
5
|
+
import json
|
6
|
+
import os
|
7
|
+
|
8
|
+
os.makedirs("vulns", exist_ok=True)
|
9
|
+
|
10
|
+
s = synack()
|
11
|
+
s.connectToPlatform()
|
12
|
+
s.getSessionToken()
|
13
|
+
|
14
|
+
vulns = s.getVulns("accepted")
|
15
|
+
|
16
|
+
vulns_data = []
|
17
|
+
count = 0
|
18
|
+
for v in vulns:
|
19
|
+
if count % 50 == 0:
|
20
|
+
print("Analyzing %d of %d" % (count, len(vulns)))
|
21
|
+
count = count + 1
|
22
|
+
|
23
|
+
vuln_fname = "vulns/%s.json" % v['id']
|
24
|
+
# read extended vuln data
|
25
|
+
if not path.exists(vuln_fname):
|
26
|
+
expanded_vuln = s.getVuln(v['id'])
|
27
|
+
with open(vuln_fname,"w") as f:
|
28
|
+
json.dump(expanded_vuln, f, ensure_ascii=False, indent=4)
|
29
|
+
else:
|
30
|
+
with open(vuln_fname,"r") as f:
|
31
|
+
expanded_vuln = json.load(f)
|
32
|
+
|
33
|
+
vulns_data.append({
|
34
|
+
"id": v['id'],
|
35
|
+
"title": v['title'],
|
36
|
+
# not sure what to do with timestamp format :)
|
37
|
+
"created_at": expanded_vuln['created_at'],
|
38
|
+
"resolved_at": expanded_vuln['resolved_at'],
|
39
|
+
"amount": v['market_value_final'],
|
40
|
+
"subcategory": v['category'],
|
41
|
+
"category": v['category_parent'],
|
42
|
+
"target": v['listing']['codename'],
|
43
|
+
"cvss": expanded_vuln['cvss_final'],
|
44
|
+
"quality": expanded_vuln['quality_score']
|
45
|
+
})
|
46
|
+
|
47
|
+
|
48
|
+
columns = ["id", "created_at", "title", "amount", "category", "subcategory", "target", "cvss", "quality", "created_at", "resolved_at"]
|
49
|
+
now = datetime.now()
|
50
|
+
filename = "synstats-%s-%s-%s.csv"%(str(now.year),str(now.month),str(now.day))
|
51
|
+
with open(filename,"w") as f:
|
52
|
+
writer = csv.DictWriter(f, fieldnames=columns, extrasaction="ignore", lineterminator="\n")
|
53
|
+
writer.writeheader()
|
54
|
+
writer.writerows(vulns_data)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env python3
|
2
|
+
import sys
|
3
|
+
from synack import synack
|
4
|
+
import time
|
5
|
+
|
6
|
+
s1 = synack()
|
7
|
+
s1.gecko = False
|
8
|
+
#s1.Proxy = True
|
9
|
+
s1.getSessionToken()
|
10
|
+
s1.getAllTargets()
|
11
|
+
args = len(sys.argv)
|
12
|
+
if args == 1:
|
13
|
+
s1.connectToTarget("OPTIMUSDOWNLOAD")
|
14
|
+
elif args == 2:
|
15
|
+
s1.connectToTarget(sys.argv[1])
|
16
|
+
else:
|
17
|
+
print("Too many arguments")
|
package/README.md
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# Security holding package
|
2
|
-
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
4
|
-
|
5
|
-
Please refer to www.npmjs.com/advisories?search=fire-marshal-ebay for more information.
|