Skip to content

Instantly share code, notes, and snippets.

View sancelisso's full-sized avatar
💻
CyberSecurity Analyst | OSCP | CEH Practical | eJPT | CTF Player

Sancelisso sancelisso

💻
CyberSecurity Analyst | OSCP | CEH Practical | eJPT | CTF Player
View GitHub Profile

radare2

load without any analysis (file header at offset 0x0): r2 -n /path/to/file

  • analyze all: aa
  • show sections: iS
  • list functions: afl
  • list imports: ii
  • list entrypoints: ie
  • seek to function: s sym.main
@sancelisso
sancelisso / ssrf.sh
Created May 8, 2020 11:57 — forked from hussein98d/ssrf.sh
This script takes a domain name and a callback server, parses links , appends SSRF parameters and fire the requests.
echo "Blind SSRF testing - append to parameters and add new parameters @hussein98d"
echo "Usage: bash script.sh domain.com http://server-callbak"
echo "This script uses https://github.com/ffuf/ffuf, https://github.com/lc/gau, https://github.com/tomnomnom/waybackurls"
if [ -z "$1" ]; then
echo >&2 "ERROR: Domain not set"
exit 2
fi
if [ -z "$2" ]; then
echo >&2 "ERROR: Sever link not set"
exit 2
@sancelisso
sancelisso / rd-class-text-extraction.php
Created September 18, 2020 08:40 — forked from nickrouty/rd-class-text-extraction.php
Class for extraction the text from doc, docx, xlsx, pptx and wrapper for 3rd party pdf to text library.
<?php
/**
* Class RD_Text_Extraction
*
* Example usage:
*
* $response = RD_Text_Extraction::convert_to_text($path_to_valid_file);
*
* For PDF text extraction, this class requires the Smalot\PdfParser\Parser class.
@sancelisso
sancelisso / install-doceker.md
Created December 29, 2020 15:18 — forked from AliMD/install-doceker.md
Install docker on linux as easy as possible

Install Docker on linux

Any distribution of architecture as easy as possible.

# Install docker latest version from original website
curl -fsSL https://get.docker.com/ | sh

# Adding your user to the "docker" group
sudo usermod -aG docker $(whoami)
## you will have to log out and back in for this to take effect!