This file contains 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 requests | |
import string | |
import random | |
import socket | |
""" | |
TL;DR | |
1- SSRF to ftp through the avatar parameter on /login | |
2- Abuse the CRLF injection in python urllib to inject ftp commands | |
3- make a bson serialization payload and put the session val to be a pickle serialization to gain RCE |
This file contains 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 requests | |
import base64 | |
import zipfile | |
import io | |
import sys | |
import argparse | |
class Args(object): | |
def __init__(self): | |
self.parser = argparse.ArgumentParser() |