Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Information Security Consulting, Threat Hunting

Minh Triet Pham Tran trietptm

💭
Information Security Consulting, Threat Hunting
View GitHub Profile
@trietptm
trietptm / Your language sucks.md
Created Oct 7, 2020 — forked from P4/Your language sucks.md
Your programming language sucks
View Your language sucks.md

You appear to be advocating a new...

  • Functional
  • Imperative
  • Object-oriented
  • Procedural
  • Stack-based
  • "Multi-paradigm"
  • Lazy
  • Eager
@trietptm
trietptm / stop_cpuid_detect.py
Created Oct 7, 2020 — forked from deeso/stop_cpuid_detect.py
use x64dbg look for cpuid instructions and unset the HVM bit
View stop_cpuid_detect.py
from x64dbgpy import pluginsdk
# Put this script in the Python path, and
# execute the following Python snippets in
# the Python dialog in x64dbg:
#
# from stop_cpuid_detect import *
# trace_cpuid(n=1000)
# the above code will trace through the program
View bookmarklist.md

#summary Bookmarks List = Hacker Media =

== Blogs Worth It: == What the title says. There are a LOT of pentesting blogs, these are the ones i monitor constantly and value in the actual day to day testing work.

* http://carnal0wnage.blogspot.com/
* http://www.mcgrewsecurity.com/
* http://www.gnucitizen.org/blog/
* http://www.darknet.org.uk/
@trietptm
trietptm / bbhit.c
Created Sep 18, 2020 — forked from axt/bbhit.c
Naive hit tracer implementation using DynamoRIO.
View bbhit.c
/*
* Naive hit tracer implementation using DynamoRIO.
*
* Author: axt
*
* Build it with the following commands:
* gcc -Dbbhit_EXPORTS -DSHOW_RESULTS -DSHOW_SYMBOLS -fPIC -I../include -I../ext/include -DX86_64 -DLINUX -O2 -fno-stack-protector -o bbhit.c.o -c bbhit.c
* gcc -fPIC -O2 -DX86_64 -DLINUX -fno-stack-protector -fPIC -shared -lgcc -Wl,--hash-style=both -shared -Wl,-soname,libbbhit.so -o libbbhit.so bbhit.c.o ../lib64/debug/libdynamorio.so.4.2 ../ext/lib64/debug/libdrsyms.so
*/
#include <stddef.h>
@trietptm
trietptm / rc4.py
Created Sep 18, 2020 — forked from OALabs/rc4.py
RC4 Crypto Python Module (probably stolen from stack overflow but it's been so long I can't remember)
View rc4.py
#! /usr/bin/env python
##########################################################################################
##
## RC4 Crypto
##
##########################################################################################
def rc4crypt(key, data):
View ollydbg.ini
[Settings]
Check DLL versions=0
Topmost window=0
Show main menu items that don't apply=0
Show popup items that don't apply=0
Show toolbar=1
Use system colours in toolbar=0
Status in toolbar=0
Flash duration=1
Autoupdate interval=4
View ollydbg - Copy.ini
[Settings]
Check DLL versions=0
GUI language=0
Topmost window=0
Show main menu items that don't apply=0
Show popup items that don't apply=0
Show toolbar=1
Use system colours in toolbar=0
Status in toolbar=0
Flash duration=2
@trietptm
trietptm / ollydbg.ini
Created Sep 17, 2020
An optimized version of Scheme - NO DONGLE (NODONGLE): https://www.iranled.com/forum/thread-29046.html
View ollydbg.ini
[Settings]
Check DLL versions=0
Topmost window=0
Show main menu items that don't apply=0
Show popup items that don't apply=0
Show toolbar=1
Use system colours in toolbar=0
Status in toolbar=0
Flash duration=1
Autoupdate interval=4
@trietptm
trietptm / ollydbg.ini
Created Sep 17, 2020
NO DONGLE (NODONGLE) OLD IDE style (for Pascal kids and Turbo C): https://www.iranled.com/forum/thread-29046.html
View ollydbg.ini
[Settings]
Check DLL versions=0
Topmost window=0
Show main menu items that don't apply=0
Show popup items that don't apply=0
Show toolbar=1
Use system colours in toolbar=0
Status in toolbar=0
Flash duration=1
Autoupdate interval=4
You can’t perform that action at this time.