You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-4Lines changed: 31 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,36 +7,57 @@ This repository contains two helper scripts for inspecting Jenkins instances:
7
7
8
8
Only run these scripts against systems you own or have explicit permission to test.
9
9
10
+
## Install from PIP:
11
+
12
+
```
13
+
pip install jenkinsenvhunter
14
+
```
15
+
16
+
Then:
17
+
18
+
```
19
+
jenkins-env-hunter --help
20
+
jenkins-check-noauth --help
21
+
```
22
+
10
23
## Requirements
11
24
12
25
- Python 3.7+
13
26
-`requests` (required)
14
27
-`alive-progress` (optional, progress bars)
15
28
16
-
Install dependencies:
29
+
30
+
31
+
32
+
## Install dependencies (if from git clone)
33
+
17
34
```
18
35
pip install requests alive-progress
19
36
```
20
37
21
38
---
22
39
23
-
## CheckNoAuth.py
40
+
## CheckNoAuth.py & jenkins-check-noauth
24
41
25
42
Purpose: quickly determine which hosts are running Jenkins and whether anonymous access is allowed. The script can also extract hosts from Nessus `.nessus` exports (plugin 65054).
26
43
27
-
Usage examples
44
+
Usage examples (Python and PIP versions listed)
28
45
```
29
46
# Scan hosts listed in hosts.txt using HTTP
30
47
python CheckNoAuth.py -f hosts.txt
48
+
jenkins-check-noauth -f hosts.txt
31
49
32
50
# Scan hosts using HTTPS and 4 threads
33
51
python CheckNoAuth.py -f hosts.txt --ssl -n 4
52
+
jenkins-check-noauth -f hosts.txt --ssl -n 4
34
53
35
54
# Extract Jenkins hosts from a Nessus export and scan them
36
55
python CheckNoAuth.py -x scan.nessus
56
+
jenkins-check-noauth -x scan.nessus
37
57
38
58
# Verbose output for troubleshooting a single host
Purpose: enumerate Jenkins jobs and builds and fetch environment variables. Finds likely sensitive variables by default (regex matching `user|pass|key|auth|token|secret`) and can save results to a file.
66
87
67
88
Usage examples
68
89
```
69
90
# Scan a Jenkins instance (no auth) and print findings to console
0 commit comments