fire-marshal-ebay 0.0.1-security.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fire-marshal-ebay might be problematic. Click here for more details.

Files changed (41) hide show
  1. package/PadBuster/LICENSE +202 -0
  2. package/PadBuster/README +16 -0
  3. package/PadBuster/padBuster.pl +889 -0
  4. package/confused/.github/workflows/codeql-analysis.yml +67 -0
  5. package/confused/.github/workflows/golangci-lint.yml +28 -0
  6. package/confused/.goreleaser.yml +40 -0
  7. package/confused/CHANGELOG.md +31 -0
  8. package/confused/LICENSE +21 -0
  9. package/confused/README.md +93 -0
  10. package/confused/composer.go +105 -0
  11. package/confused/confused +0 -0
  12. package/confused/interfaces.go +11 -0
  13. package/confused/main.go +104 -0
  14. package/confused/mvn.go +120 -0
  15. package/confused/mvnparser.go +139 -0
  16. package/confused/npm.go +210 -0
  17. package/confused/packages.json +86 -0
  18. package/confused/pip.go +99 -0
  19. package/confused/util.go +11 -0
  20. package/index.js +47 -0
  21. package/package.json +9 -4
  22. package/synackAPI/Dockerfile +36 -0
  23. package/synackAPI/README.md +238 -0
  24. package/synackAPI/RHINOSPIDER/burpOOS.txt +25 -0
  25. package/synackAPI/RHINOSPIDER/burpScope.txt +1 -0
  26. package/synackAPI/RHINOSPIDER/scope.txt +1 -0
  27. package/synackAPI/bot.py +72 -0
  28. package/synackAPI/checkCerts.py +67 -0
  29. package/synackAPI/connect.py +9 -0
  30. package/synackAPI/currentTarget +24 -0
  31. package/synackAPI/getAnalytics.py +40 -0
  32. package/synackAPI/getHydra.py +46 -0
  33. package/synackAPI/getPayouts.py +11 -0
  34. package/synackAPI/getscope.py +123 -0
  35. package/synackAPI/polling.py +27 -0
  36. package/synackAPI/register.py +7 -0
  37. package/synackAPI/requirements.txt +7 -0
  38. package/synackAPI/synack.py +1046 -0
  39. package/synackAPI/synstats.py +54 -0
  40. package/synackAPI/target.py +17 -0
  41. 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.