Skip to content

Instantly share code, notes, and snippets.

@x0xman
x0xman / Web-shell.txt
Last active August 16, 2023 07:17
a collection of name wordlist web-shell
529.php
AK-74 Security Team Web Shell Beta Version.php
Andela 1C3 v3 (Private Release 2017).php
Antichat Shell. Modified by Go0o$E.php
Antichat Shell.php
Antichat_Shell_v1.3.php
Ayyildiz Tim -AYT- Shell v 2.1 Biz.php
Ayyildiz Tim Shell (Private Shell 2017).php
C99madShell v. 2.0 madnet edition.php
CasuS 1.5.php
@vavkamil
vavkamil / android-burp-cert.sh
Created September 10, 2019 14:47
One Liner For Installing Burp Certificate Into Android Nougat and Later
# https://securitychops.com/2019/08/31/dev/random/one-liner-to-install-burp-cacert-into-android.html
#
curl --proxy http://127.0.0.1:8080 -o cacert.der http://burp/cert \
&& openssl x509 -inform DER -in cacert.der -out cacert.pem \
&& cp cacert.der $(openssl x509 -inform PEM -subject_hash_old -in cacert.pem |head -1).0 \
&& adb root \
&& adb remount \
&& adb push $(openssl x509 -inform PEM -subject_hash_old -in cacert.pem |head -1).0 /sdcard/ \
&& echo -n "mv /sdcard/$(openssl x509 -inform PEM -subject_hash_old -in cacert.pem |head -1).0 /system/etc/security/cacerts/" | adb shell \
&& echo -n "chmod 644 /system/etc/security/cacerts/$(openssl x509 -inform PEM -subject_hash_old -in cacert.pem |head -1).0" | adb shell \
@bbrother92
bbrother92 / grep.md
Last active June 27, 2022 11:29
#bash #regex #cheatsheet #grep

GREP Options

--max-count=number of matches before stopping search
--exclude=*.txt  with -r option

Note: Lookahead and lookbehind are Perl-style regular expression elements, so you'd have to use Perl directly, or GNU grep with the -P option, which then interprets Perl regex.

grep -o pattern file.txt **shows only the matched string** 
grep -bn pattern file.txt **shows row and col**  
grep -v pattern file.txt **inversion**