Sunday, June 28, 2009

multi-threading std::map issue

class tagtree
std::map mapControllee;

** working code **

tagtree *tt;
tagtree *ttController;
tt = AddNode(...);
ttController = tt;
tt = AddNode(...);
ttController->mapControlle[strName] = tt; <- crash in compare down to _tcmp lpsz 0xcdcdcdcd[^]

Synchronization of multiple reader and writer processes using Mutex

void CServer::WriteToMemory()
switch memory page
write something
void CServer::ReadFromMemory()
get last writen memory page
read something

Remote Code Injection For All Windows Versions

1. "Three ways to inject your code into another process" by Robert Kuster.
2. "Remote Library" by António Feijão.
3. "PrcHelp" by Radim Picha.
4. "Windows 95 System Programming Secrets" by Matt Pietrek.
5. "Windows NT/2000 Native API Reference" by Gary Nebbett.
6. "A Crash Course on the Depths of Win32 Structured Exception Handling" by Matt Pietrek.
7. "Enumerating Windows Processes" by Alex Fedotov.

For Win9x stuff see [4] (99 % of the Win9x code comes from this book).
I don't know any equivalent book for NT, but two usefull books (not directly related to remote code injection) are:
- "Undocumented Windows NT" by P. Dabak, M. Borate, S. Phadke (
- "Microsoft Windows Internals, 4th ed." by M. Russinovich, D. Solomon

Saturday, June 27, 2009

MHP2G - Rajang 4 Hunters in 3.5mins

MHP2G - Kirin Sleep Charge Bomb in 2mins

HOWTO: Enable AHCI mode after installing Windows

HOWTO: 2.5" Seagate 320GB using eSATA

1. update latest driver for ur sata chipset
i, intel ich family chipset go to
ii, jmicron chipset go to
2. go to BIOS enable the AHCI for SATA mode
3. install seagate 2.5" into HD case that support eSATA
4. connect power to HD case to USB
5. connect eSATA to HD case to PC/Laptop
6. refresh page in device manager, new disk drive should be detected
7. initialize the new drive, skip the dynamic drive
8. create primary/extended partition follow by create logical partition(if u created extended)
9. format it and ready to go
10. here's a few recommended software to test out how well ur external HD performs


Media Center for PC/Laptop/Wii/Xbox/PSP/PDA/iPhone