Skip to content

Instantly share code, notes, and snippets.

Avatar
🐢

Mohd Shahril shahril96

🐢
View GitHub Profile
@jojobyte
jojobyte / ContextCmder-Disable.reg
Last active May 24, 2022
Cmder Context (Right-Click) Menu for Windows 7, 8 & 10
View ContextCmder-Disable.reg
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder]
@h0tw1r3
h0tw1r3 / aria2.daemon
Last active Jun 24, 2022
Aria2c systemd service
View aria2.daemon
continue
dir=/var/www/downloads
file-allocation=trunc
max-connection-per-server=4
max-concurrent-downloads=2
max-overall-download-limit=0
min-split-size=25M
@hugsy
hugsy / checksec.c
Last active Mar 5, 2021
PE version of checksec.sh
View checksec.c
/**
* Poor version of checksec.sh script for PE (checks for ASLR, NX, Integrity, SEH flags)
*
* Copy/Paste commands
* c:\> dir /s /b *.dll > DllList.txt
* c:\> checksec.exe -f DllList.txt > DllList_checksec.txt
*
* @ref
* https://msdn.microsoft.com/en-us/library/windows/desktop/ms680339(v=vs.85).aspx
*/
@soarez
soarez / ca.md
Last active Jun 14, 2022
How to setup your own CA with OpenSSL
View ca.md

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

@jas-
jas- / .gdbinit
Last active May 13, 2020
Memory scraping
View .gdbinit
python
sys.path.insert(0, '/path/to/module/dir')
import hexdump
end
@obstschale
obstschale / octave.md
Last active May 31, 2022
An Octave introduction cheat sheet.
View octave.md
@Apsu
Apsu / uefisetup.sh
Last active Jul 8, 2021
Arch Linux UEFI Setup
View uefisetup.sh
# **************** READ THIS FIRST ******************
#
# This is not a script for you to run. I repeat, do not download and run this!
#
# This is only a guide to show the required steps for successful UEFI + GRUB2 installation
# Many of the choices are examples or assumptions; don't blindly type shit into your machine
# until/unless you at least read the comments around each command
#
# These steps assume you've booted in UEFI mode by preparing your USB stick per these instructions:
# https://wiki.archlinux.org/index.php/UEFI#Archiso
@Steven-Rose
Steven-Rose / gist:3943830
Created Oct 24, 2012
VI: Select all + delete, select all + copy
View gist:3943830
Select all and delete (actually move to buffer)
:%d
Select all and copy to buffer
:%y
Use p to paste the buffer.
@nickbudi
nickbudi / README.md
Last active Jun 21, 2022
Budi's Counter-Strike: Global Offensive config
View README.md

Budi's CS:GO Config

This is my constantly updated CS:GO autoexec config. Changelogs can be found under revisions here

Put autoexec.cfg in ...\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg or take what you want from it and add to your autoexec config!

After the Wild West Simulator 2015 update, video.txt needs to be put in ...\Steam\userdata\<Steam3 ID>\730\local\cfg

Launch Options

@joaopizani
joaopizani / .screenrc
Created May 17, 2012
A killer GNU Screen Config
View .screenrc
# the following two lines give a two-line status, with the current window highlighted
hardstatus alwayslastline
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]'
# huge scrollback buffer
defscrollback 5000
# no welcome message
startup_message off