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
| # | |
| # TO-DO: set |DESTINATIONURL| below to be whatever you want e.g. www.google.com. Do not include "http(s)://" as a prefix. All matching requests will be sent to that url. Thanks @Meatballs__! | |
| # | |
| # Note this version requires Apache 2.4+ | |
| # | |
| # Save this file into something like /etc/apache2/redirect.rules. | |
| # Then in your site's apache conf file (in /etc/apache2/sites-avaiable/), put this statement somewhere near the bottom | |
| # | |
| # Include /etc/apache2/redirect.rules | |
| # |
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
| from pypsrp.exceptions import AuthenticationError | |
| from pypsrp.client import Client | |
| HOST = '10.0.128.100' | |
| MY_PASSWORD = 'abc123!!!' | |
| client = None | |
| def connect(username: str, password: str): | |
| global client |
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
| import System.IO | |
| import Data.Dates | |
| import Data.List.Split | |
| data ShadowEntry = ShadowEntry { | |
| username :: String, | |
| hash :: String | |
| } deriving (Show) | |
| parseShadowEntryString :: String -> ShadowEntry |
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
| <?XML version="1.0"?> | |
| print("Hello World!"); | |
| ]]> | |
| </scriptlet> |
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
| tap "osx-cross/avr" | |
| tap "sidaf/pentest" | |
| tap "t94j0/security" | |
| tap "homebrew/core" | |
| tap "homebrew/bundle" | |
| tap "homebrew/services" | |
| tap "acrogenesis/macchanger" | |
| tap "caskroom/cask" | |
| cask "java" | |
| brew "afl-fuzz" |
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
| $defaultServices = @("AppInfo", "AudioEndpointBuilder", "Audiosrv", "BFE", "BITS", "BrokerInfrastructure", "CertPropSvc", "CoreMessagingRegistrar", "CryptSvc", "DeviceAssociationService", "Dhcp", "DiagTrack", "Dnscache", "SecurityHealthServMpsSvc", "DoSvc", "DPS", "TimeBrokerSvc", "ProfSvc", "Winmgmt", "EventLog", "LicenseManager", "EventSystem", "wuauserv", "WpnService", "Wcmsvc", "FontCache", "WSearch", "stisvc", "WinDefend", "FontCache", "CDPSvc", "WdNisSvc", "tiledatamodelsvc", "lmhosts", "WdiSest", "TrkWks", "Schedule", "UserManager", "lfsvc", "gpsvc", "StorSvc", "SystemEventsBroker", "hidserv", "iphlpsvc", "LSM", "SysMain", "netprofm", "NcbService", "NlaSvc", "nsi", "SENS", "PlugPlay", "ShellHWDetection", "Power", "StateRepository", "PcaSvc", "RpcSs", "Spooler", "SessionEnv", "SSDPSRV", "wscsvc", "LanmanServer", "TermService", "UmRdpService", "WlanSvc", "WinHttpAutoProxySvc", "DcomLaunch", "DusmSvc", "KeyIso", "LanmanWorkstation", "QWAVE", "RpcEptMapper", "VaultSvc", "AppXSvc", "ClipSVC", "COMSysApp", " |
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 ( | |
| "encoding/csv" | |
| "fmt" | |
| "io" | |
| "io/ioutil" | |
| "os" | |
| "strconv" | |
| "strings" |
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 get_shellcode | |
| objdump -D ./$argv[1]|grep '[0-9a-f]:'|grep -v 'file'|cut -f2 -d:|cut -f1-6 -d' '|tr -s ' '|tr '\t' ' '|sed 's/ $//g'|sed 's_ _\\\x_g'|paste -d '' -s |sed 's/^/"/'|sed 's/$/"/g' | |
| end |
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 get_shellcode | |
| objdump -d ./$argv[1]|grep '[0-9a-f]:'|grep -v 'file'|cut -f2 -d:|cut -f1-6 -d' '|tr -s ' '|tr '\t' ' '|sed 's/ $//g'|sed 's/ /\\x/g'|paste -d '' -s |sed 's/^/"/'|sed 's/$/"/g' | |
| end |
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 meme | |
| curl -s https://www.reddit.com/r/me_irl.json > /tmp/me_irl.json | |
| open (python3 -c " | |
| import json | |
| import random | |
| imgurs = [] | |
| with open('/tmp/me_irl.json') as f: | |
| parsed = json.loads(f.read()) | |
| for images in parsed['data']['children']: |