IDA Program Patching
Introduction It’s not a rare occurrence when we want to load a binary executable in a debugger, change some bytes and then save the changed binary to a hard drive, making a new, patched executable....
View ArticleCommonly Used Phrases and Sentences By Developers!
In a software company, while developing application, software developers come under different circumstances in which they have to save themselves and blame others(blame game), they have to boast and...
View ArticleDecode URLs in C++
URL encoding stands for encoding certain characters in a URL by replacing them with one or more character triplets that consist of the percent character “%” followed by two hexadecimal digits. make...
View ArticleDelphi: Get the list of active programs/tasks
make money procedure TTaskListForm.FormShow(Sender: TObject); var Wnd : hWnd; buff: array [0..127] of Char; begin ListBox1.Clear; Wnd := GetWindow(Handle, gw_HWndFirst); while Wnd <> 0 do begin...
View ArticlePHP: Detecting AJAX Request
if(!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest'){ //do something }else{ //something else } make money
View ArticlePHP: Get Real IP Address
make money function GetRealIPAddress() { if (isset($_SERVER["HTTP_CLIENT_IP"])) { return $_SERVER["HTTP_CLIENT_IP"]; } elseif (isset($_SERVER["HTTP_X_FORWARDED_FOR"])) { return...
View ArticlePHP: Unzip file
make money <?php function unzip($location,$newLocation){ if(exec("unzip $location",$arr)){ mkdir($newLocation); for($i = 1;$i< count($arr);$i++){ $file = trim(preg_replace("~inflating:...
View ArticlePHP: Parsing JSON data
make money Creating:$json_data = array ('id'=>1,'name'=>"rolf",'country'=>'russia',"office"=>array("google","oracle")); echo json_encode($json_data);...
View ArticlePHP: Create Thumbnail Images
make money /********************** *@filename - path to the image *@tmpname - temporary path to thumbnail *@xmax - max width *@ymax - max height */ function resize_image($filename, $tmpname, $xmax,...
View ArticleDelphi: XE2 threading
This is demo write number in memo using thread. in this case we use Delphi xe 2. We give name the thread with WriteThread, Ok, lets create new application, put one tmemo, and two buttons. click button1...
View Article