Skip to content

Commit c618890

Browse files
authored
Merge branch 'danielmiessler:master' into master
2 parents f01e9aa + aa0eb72 commit c618890

File tree

21 files changed

+437355
-270
lines changed

21 files changed

+437355
-270
lines changed

.bin/generate-contributors

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
#!/usr/bin/env bash
2+
#
3+
## Requires jq
4+
#
5+
## Example: bash github-api-contributors-gen.sh "danielmiessler/SecLists"
6+
#
7+
8+
## https://github.com/<value>
9+
githubRepo=${1:-danielmiessler/SecLists}
10+
11+
## How many avatar's per row
12+
avatar_row=5
13+
14+
## Start at the start
15+
page=1
16+
17+
## Empty the values
18+
login=()
19+
avatar_url=()
20+
url=()
21+
22+
## Do until there isn't anything returned
23+
while true; do
24+
## Call the API, to extract the JSON for that page
25+
json=$( curl -s "https://api.github.com/repos/${githubRepo}/contributors?page=${page}" )
26+
27+
## Check to see if its empty or not - if it is, exit the loop
28+
[[ -z "$( echo ${json} | jq -r '.[]' )" ]] \
29+
&& break
30+
31+
## Loop over all three values, save to an array (dirty - as multiple loops hardcoded...)
32+
for x in $( echo ${json} | jq -r ".[].login" ); do
33+
login+=($x)
34+
done
35+
36+
for x in $( echo ${json} | jq -r ".[].avatar_url" ); do
37+
avatar_url+=($x)
38+
done
39+
40+
for x in $( echo ${json} | jq -r ".[].url" ); do
41+
url+=($x)
42+
done
43+
44+
## Check to make sure all arrays are the same length (dirty - but works...)
45+
if [ "${#login[@]}" -ne "${#avatar_url[@]}" ]; then
46+
echo "[-] Issues with login & avatar_url"
47+
exit 1
48+
elif [ "${#login[@]}" -ne "${#url[@]}" ]; then
49+
echo "[-] Issues with login & url"
50+
exit 1
51+
fi
52+
53+
## Increase the page count
54+
(( page ++))
55+
done
56+
57+
58+
## Make markdown headers
59+
for x in " " "---"; do
60+
echo -n "|"
61+
for y in $( seq 1 "${avatar_row}" ); do
62+
echo -n "${x}|"
63+
done
64+
echo
65+
done
66+
67+
68+
## Counter for avatar_row
69+
i=1
70+
## For every value in the arrays above, do the following
71+
for x in $( seq 0 "${#login[@]}" ); do
72+
## As array starts at 0, length starts at 1, there will be one extra - skip the end!
73+
[ ${x} -eq ${#login[@]} ] \
74+
&& break
75+
76+
echo -n "<img width='50' src='${avatar_url[${x}]}'/><br />[${login[${x}]}](${url[${x}]}) | "
77+
78+
## Every x rows, do put onto a new line
79+
[ $i -ge ${avatar_row} ] \
80+
&& i=0 \
81+
&& echo
82+
83+
## Increase the row count
84+
(( i ++))
85+
done
86+
echo

CONTRIBUTORS.md

Lines changed: 38 additions & 34 deletions
Large diffs are not rendered by default.
Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,40 @@
1-
/view/All/builds
2-
/view/All/newjob
1+
/about
2+
/administrativeMonitor/OldData/
3+
/api/
34
/asynchPeople/
4-
/userContent/
5+
/cli/
56
/computer/
7+
/configure
8+
/configureCredentials
9+
/configureSecurity
10+
/configureTools
11+
/credentials
12+
/heapDump
13+
/install
14+
/load-statistics
15+
/lockable-resources
16+
/log
17+
/logout
18+
/manage
19+
/me/my-views
20+
/newView
21+
/opensearch.xml
22+
/pluginManager
23+
/prepareShutdown
624
/pview/
7-
/systeminf
8-
/systemInfo
25+
/rssAll
26+
/rssFailed
27+
/rssLatest
928
/script
10-
/signup
29+
/securityRealm/
1130
/securityRealm/createAccount
31+
/signup
32+
/systeminf
33+
/systemInfo
34+
/threadDump
35+
/toggleCollapse?paneId=buildQueue
36+
/toggleCollapse?paneId=executors
37+
/user/admin
38+
/userContent/
39+
/view/All/builds
40+
/view/All/newjob

Discovery/Web-Content/big.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6161,6 +6161,7 @@ disk
61616161
diskuse
61626162
diskussion
61636163
diskuze
6164+
dismiss
61646165
disney
61656166
dispatch
61666167
dispatcher
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/v1/sys/audit
2+
/v1/sys/audit-hash/
3+
/v1/sys/auth
4+
/v1/sys/capabilities
5+
/v1/sys/capabilities-accessor
6+
/v1/sys/capabilities-self
7+
/v1/sys/config/auditing
8+
/v1/sys/config/control-group
9+
/v1/sys/config/cors
10+
/v1/sys/config/reload
11+
/v1/sys/config/state
12+
/v1/sys/config/ui
13+
/v1/sys/control-group
14+
/v1/sys/generate-recovery-token
15+
/v1/sys/generate-root
16+
/v1/sys/health
17+
/v1/sys/host-info
18+
/v1/sys/init
19+
/v1/sys/internal/counters
20+
/v1/sys/internal/specs/openapi
21+
/v1/sys/internal/ui/feature-flags
22+
/v1/sys/internal/ui/mounts
23+
/v1/sys/key-status
24+
/v1/sys/leader
25+
/v1/sys/leases
26+
/v1/sys/license
27+
/v1/sys/metrics
28+
/v1/sys/mfa
29+
/v1/sys/mfa/method/duo
30+
/v1/sys/mfa/method/okta
31+
/v1/sys/mfa/method/pingid
32+
/v1/sys/mfa/method/totp
33+
/v1/sys/monitor
34+
/v1/sys/mounts
35+
/v1/sys/namespaces
36+
/v1/sys/plugins/reload/backend
37+
/v1/sys/plugins/catalog
38+
/v1/sys/policy
39+
/v1/sys/policies
40+
/v1/sys/policies/password
41+
/v1/sys/pprof
42+
/v1/sys/quotas/config
43+
/v1/sys/quotas/rate-limit
44+
/v1/sys/quotas/lease-count
45+
/v1/sys/raw
46+
/v1/sys/rekey
47+
/v1/sys/rekey-recovery-key
48+
/v1/sys/remount
49+
/v1/sys/replication
50+
/v1/sys/replication/performance
51+
/v1/sys/replication/dr
52+
/v1/sys/rotate
53+
/v1/sys/rotate/config
54+
/v1/sys/seal
55+
/v1/sys/seal-status
56+
/v1/sys/sealwrap/rewrap
57+
/v1/sys/step-down
58+
/v1/sys/storage
59+
/v1/sys/storage/raft
60+
/v1/sys/storage/raft/autopilot
61+
/v1/sys/storage/raft/snapshot-auto
62+
/v1/sys/tools
63+
/v1/sys/unseal
64+
/v1/sys/wrapping/lookup
65+
/v1/sys/wrapping/rewrap
66+
/v1/sys/wrapping/unwrap
67+
/v1/sys/wrapping/wrap

Discovery/Web-Content/nginx.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ logs/
3838
nginx.exe
3939
temp
4040
temp/
41+
nginx.conf

0 commit comments

Comments
 (0)