I hereby claim:
- I am osandamalith on github.
- I am osandamalith (https://keybase.io/osandamalith) on keybase.
- I have a public key whose fingerprint is 8453 4D6F 99AD F536 5A6E 3CD8 E165 7DA4 C6A1 DEDD
To claim this, I am signing this object:
#include <windows.h> | |
#include <stdio.h> | |
#include "tlhelp32.h" | |
/* Title: This will find the PPID - Parent Process ID of the give PID | |
* Author: Osanda Malith Jayathissa (@OsandaMalith) | |
* Example: ppid.exe 1620 | |
* PID: 1620 | PPID: 776 | Name: calc.exe | |
*/ | |
int main(int argc, char *argv[]) { | |
int pid = 0; |
#include <windows.h> | |
#include <stdio.h> | |
#include <tchar.h> | |
#include "tlhelp32.h" | |
/* Title: Determining debugger present using the Parent Process detection. | |
* Author: Osanda Malith Jayathissa (@OsandaMalith) | |
* Website: http://osandamalith.wordpress.com | |
*/ | |
int main(int argc, char *argv[]) { | |
int pid = 0; |
format pe gui 4.0 | |
entry start | |
; »»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»» | |
; Title: Checking if the process is being debugged by a ring3 debugger | |
; using the PEB's BeingDebugged bit. | |
; | |
; Website: http://osandamalith.wordpress.com | |
; Author: Osanda Malith Jayathissa (@OsandaMalith) | |
; ««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««« |
#include <Winternl.h> | |
#include <Windows.h> | |
#include <tchar.h> | |
/* | |
* Author: Osanda Malith Jayathissa (@OsandaMalith) | |
* Website: http://OsandaMalith.wordpress.com | |
* Using ZwQueryInformationProcess we get the PEB Address and | |
* then we check the BeingDebugged bit to determine the process is being debugged or not. | |
*/ |
I hereby claim:
To claim this, I am signing this object:
format pe gui 4.0 | |
entry start | |
; »»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»» | |
; Title: Checking if the process is being debugged by a ring3 debugger | |
; using the PEB's BeingDebugged bit. | |
; | |
; Website: http://osandamalith.wordpress.com | |
; Author: Osanda Malith Jayathissa (@OsandaMalith) | |
; ««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««« |
<?php | |
/* | |
Coded by @OsandaMalith | |
*/ | |
error_reporting(0); | |
class Osanda { const lovely = 'rootbear'; } | |
${'r'.str_repeat('o', 2).@false.'tbear'}= "I Love You ♥"; |
.586 | |
.model flat, stdcall | |
option casemap :none | |
; ¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤÷¤ | |
; Author : Osanda Malith Jayathissa (@OsandaMalith) | |
; Title: Test if process is being debugged if PPID != explorer.exe | |
; Website: http://osandamalith.wordpress.com | |
; ¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤ |
#include "stdafx.h" | |
#include <string> | |
#include <iostream> | |
#include <fstream> | |
/* | |
* Author : Osanda Malith Jayathissa (@OsandaMalith) | |
*/ | |
using namespace std; | |
int valid( char *str) { |
#include "stdafx.h" | |
#include <string> | |
#include <iostream> | |
#include <fstream> | |
using namespace std; | |
unsigned int checksum(unsigned char string[]) { | |
unsigned int var; |