FREE DOWNLOAD E-BOOKS

Linux Shell Scripting Cookbook, 2nd Edition
DOWNLOAD LINK [ PDF ]:
http://adf.ly/pz5Gk
READ MORE ABOUT THIS BOOK:
http://www.backtrack-pages.com/2014/06/linux-shell-scripting-cookbook-2nd.html
Kali Linux Cookbook
DOWNLOAD LINK [ PDF ]:
http://adf.ly/pxM6C
READ MORE ABOUT THIS BOOK:
http://www.backtrack-pages.com/2014/06/kali-linux-cookbook.html
Web Penetration Testing with Kali Linux
DOWNLOAD E-BOOK [ PDF ]:
http://adf.ly/pwHGf
READ MORE ABOUT THIS BOOK:
http://www.backtrack-pages.com/2013/12/web-application-obfuscation.html
Web Application Obfuscation
DOWNLOAD E-BOOK [ PDF ]:
http://adf.ly/b0T0B
READ MORE ABOUT THIS BOOK:
http://www.backtrack-pages.com/2013/12/web-application-obfuscation.html
Network Security Hacks, 2nd Edition
DOWNLOAD E-BOOK [ PDF ]:
http://adf.ly/abY9P
READ MORE ABOUT THIS BOOK:
http://www.backtrack-pages.com/2013/12/network-security-hacks-2nd-edition.html
Inside Cyber Warfare: Mapping the Cyber Underworld
READ MORE ABOUT THIS BOOK:
http://www.backtrack-pages.com/2013/12/inside-cyber-warfare-mapping-cyber.html
DOWNLOAD E-BOOK [ PDF ]:
http://adf.ly/aOyC4
Private Cloud Computing: Consolidation, Virtualization, and Service-Oriented Infrastructure
DOWNLOAD E-BOOK [ PDF ]:
http://adf.ly/aIgTw
READ MORE ABOUT THIS BOOK:
http://www.backtrack-pages.com/2013/12/private-cloud-computing-consolidation.html
Low Tech Hacking: Street Smarts for Security Professionals
DOWNLOAD E-BOOK [ PDF ]:
http://adf.ly/a7f0O
READ MORE ABOUT THIS BOOK:
http://www.backtrack-pages.com/2013/11/low-tech-hacking-street-smarts-for.html
Access Denied: The Practice and Policy of Global Internet Filterin
DOWNLOAD E-BOOK [ PDF ]:
http://adf.ly/a2aTX
READ MORE ABOUT THIS BOOK:
http://www.backtrack-pages.com/2013/11/access-denied-practice-and-policy-of.html
DOWNLOAD FREE MORE E-BOOKS [ DAILY UPDATE ]
http://www.backtrack-pages.com/search/label/E-Books

How to Find & Remove Viruses in Windows using Command Prompt

Finding & Removing Viruses Using Command Prompt

Follow the below guide only if you think any of your drive is affected with virus or if you think there are some harmful files and you want to delete them.

Step 1: Go to start menu and type “cmd” in the search box or Start>all programs>accessories>command prompt.

Step 2: Select the infected drive,to do so type in CMD , D: to go to D: drive.

Step 3: Now type dir/w/a . It will show all the files of the drive including hidden files.

Now Check if there is any file or virus that you are not aware of and you think might be Harmful to your PC.

Step 4: Usually there is Autorun.inf file which you must delete it. to do so Type in attrib -h -r -s autorun.inf  and press Enter. Type del autorun.inf  and press Enter. Follow this for all other drives.

Step 5: We have now Succesfully found and deleted autorun.inf file from D drive. if you find any .exe file which is unknown to you. then delete it using the same above method.

How to remove Shortcut virus using cmd ?

The Shortcut viruses are those which converts all your data from your pen drive or Hard disk to shortcuts, but they are recoverable. just follow the below given steps to remove shortcut virus from pen drive and recover back your files.

  • Go to Start -> Run -> cmd.
  • Go to your pen drive directory.
  • Type this command: del *.lnk and press Enter.
  • Type attrib -h -r -s /s /d e:\*.* And then press Enter.

Recover your files :

You can recover your files through Winrar.

  1.  Open WINRAR Application.
  2. Navigate to your Pendrive location or PC Folder location.
  3. Copy Files and Paste where you want.
  4. Format your Pendrive. 

Got some Files in your pen drive but they are empty! Because of the virus in your pendrive malfunctions your drive. How to remove this empty folder virus and recover files? Follow the steps given below.
  • Start -> Run -> cmd.
  • Type this command: attrib -h -r -s /s /d x:\*.* 
  • Here the letter "x" should be replaced with the drive alphabet of your pendrive that you have inserted into the computer.
  • If your pendrive shows the drive alphabet as "J", then type  this command: attrib -h -r -s /s /d j:\*.* And then press Enter.

Restart your Pc for the changes to take place... So these were some methods to find and remove different viruses using Command Prompt. I hope this will help many of my Readers.

Increase Download Speed of Internet Download Manage (IDM) for any version

01.Open your IDM

02. Click Downloads & Option. then open menu as below.
03
03.Go Connection Change "Connection Speed : Others or your connection name". "Speed :10000000" . "Default max conn. numbers: 16". After complete then click OK.

04. Type regedit in Run or follow below image & Press Enter
05
05.Open your Registry with administrator
06
06. Click HKEY_CURRENT_USER
07
07. Software
08
08. Download Manager
09
10.Double Click on Connection Speed
10
11. Give in Value Data is 10000000 & click Hexa Decimal to Decimal. Then OK
11
Thanks for complete your job. Now Enjoy

Write a program that performs Random Access any data file. The updating would include one or more of the following tasks: a) Displaying the contents of a file b) Modifying an existing item c) Adding a new item d ) Deleting an existing item

Write a program that performs Random Access any data file. The updating would include one or more of the following tasks: a) Displaying the contents of a file b) Modifying an existing item c) Adding a new item d ) Deleting an existing item

 
#include<iostream.h>
#include<fstream.h>
#include<iomanip.h>
#include<conio.h>

class INVENTORY
{
    char name[10];
    int code;
    float cost;
    public:
      void getdata(void)
      {
          cout<<"Enter name : "; cin>>name;
          cout<<"Enter code : "; cin>>code;
          cout<<"Enter cost : "; cin>>cost;
      }
      void putdata(void)
      {
          cout<<setw(10)<<name
         <<setw(10)<<code
         <<setprecision(2)<<setw(10)<<cost
         <<endl;
      }
}; // end of class definition

int main()
{
    clrscr();

    INVENTORY item;
    fstream inoutfile; // input/output stream

    inoutfile.open("STOCK.DAT",ios::ate|ios::in|ios::out|ios::binary);
    inoutfile.seekg(0,ios::beg); // go to start
    cout<<"CURRENT CONTENTS OF STOCK\n";

    while(inoutfile.read((char *) & item, sizeof (item)))
    {
   item.putdata();
    }
    inoutfile.clear();  //  turn of EOF flag

    /* >>>>>>>>>>>>>>>>> Add one or more item <<<<<<<<<<<<<<<<<< */

    cout<<"\nADD AN ITEM\n";
    item.getdata();
    char ch;
    cin.get(ch);
    inoutfile.write((char *) & item, sizeof(item));

    // display the appened file

    inoutfile.seekg(0);  // go to start

    cout<<"CONTENTS OF APPEND FILE\n";

    while(inoutfile.read((char *) & item, sizeof (item)))
    {
   item.putdata();
    }

    // find number of objects in the file

    int last = inoutfile.tellg();
    int n = last/sizeof(item);

    cout<<"Number of objects = "<<n<<"\n";
    cout<<"Total bytes in the file = "<<last<<"\n";

    /* >>>>>>>> MODIFY THE DETAILS OF AN ITEM <<<<<<<<<<<<<<< */

    cout<<"Enter object number to be updated\n";
    int object;
    cin>>object;
    cin.get(ch);

    int location = (object-1) * sizeof(item);

    if(inoutfile.eof())
    inoutfile.clear();

    inoutfile.seekp(location);

    cout<<"Enter new values of th object\n";
    item.getdata();
    cin.get(ch);

    inoutfile.write((char *) & item, sizeof (item))<<flush;

    /* >>>>>>>>>>>>>> SHOW UPDATED FILE <<<<<<<<<<<<<<<<<< */

    inoutfile.seekg(0);  // go to the start

    cout<<"CONTENTS OF UPDATED FILE\n";

    while(inoutfile.read((char *) & item, sizeof (item)))
    {
   item.putdata();
    }
    inoutfile.close();

    return 0;
} // end of main

Create an Abstract Base class called shape. Derive class rectangle from the base class shape and a class cube from the rectangle class. Data members : Length, width for class rectangle Height for class cube Member function : Area(), print() for class rectangle Volume(), print() for class cube Make function print() as virtual and declare as a pure virtual function in the base class. Write a main program to compute the area of rectangle and volume of cube and display the result using base class pointer.

Create an Abstract Base class called shape. Derive class rectangle from the base class shape and a class cube from the rectangle class. Data members :  Length, width for class rectangle      Height for class cube  Member function :  Area(), print() for class rectangle     Volume(), print() for class cube Make function print() as virtual and declare as a pure virtual function in the base class. Write a main program to compute the area of rectangle and volume of cube and display the result using base class pointer.


Create an Abstract Base class called shape. Derive class rectangle from the base class shape and a class cube from the rectangle class. Data members :  Length, width for class rectangle      Height for class cube  Member function :  Area(), print() for class rectangle     Volume(), print() for class cube Make function print() as virtual and declare as a pure virtual function in the base class. Write a main program to compute the area of rectangle and volume of cube and display the result using base class pointer.





#include<iostream.h>
#include<conio.h>
class shape
{
public:
    virtual void print()=0;
};
class rectangular:public shape
{
    private:
    float length,width,are;
public:
    void area(int i,int j)
    {
        length=i;
        width=j;
        area=length*width;
    }
void print()
    {
    cout<<"area is: "<<are<<"\n";
    }
};


class cube :public rectangular
{
    private:
        float hight,vol;

    public:
        void volume(float h)
    {
        hight=h;
         vol=hight*hight*hight;
    }
void print()
    {
        cout<<"the volume is :" <<vol;
    }
};

void main()
{
    clrscr();
    rectangular ob1;
    cube ob2;
    shape *sptr;
    sptr=&ob1;
    ob1.area(10,20);
    sptr->print();
    sptr=&ob2;
    ob2.volume(25.5);
    sptr->print();
    getch();
}

Design a class polar which describes a point in the plane using polar coordinates radius and angle. Use the overloaded + operator add two objects of polar. (Hint: You need to use the following trigonometric formula: x = r*cos(a); y = r*sin(a); a = atan(x/y);// are tangent r = sqrt(x*x + y*y)




#include<iostream.h>
#include<conio.h>
#include<math.h>
#include<iomanip.h>

class polar
{
  float r,a;
  public:
void setpolar(float i, float j){r=i; a=j;}
void showpolar()
{
 cout<<"Radius = "<<setprecision(4)<<r<<"             Angle = "<<setprecision(4)<<a;
}
void getresult(){}
polar operator + (polar ob);

};

polar polar :: operator + (polar ob)
{
  float x1,x2,y1,y2,x,y,rad,angle;
  float angle1,angle2,ang;
  polar tempob;

  angle1 = (22 * a) /float(7 * 180);
  angle2 = (22 * ob.a)/ float (7 * 180);

  x1 = r*cos(angle1);
  y1 = r*sin(angle1);
  x2 = ob.r * cos(angle2);
  y2 = ob.r * sin(angle2);

  x = x1 + x2;
  y = y1 + y2;

  rad = sqrt((x*x)+(y*y));
  ang = atan(y/float(x));
  angle = (180*7*ang)/22;
  tempob.setpolar(rad,angle);
  return tempob;
}

void main()
{
   float r,a;
   polar ob[2],sumob;
   clrscr();
   cout<<"A Class for POLAR that determine polar coordinates\n";
   cout<<"==================================================\n\n\n\n\n";


   for(int i=0;i<2;i++)
   {
     cout<<"\nEnter value for r : "<<i+1<< " : ";
     cin>>r;
     cout<<"\nEnter value for a : "<<i+1<< " : ";
     cin>>a;
     ob[i].setpolar(r,a);
   }

   cout<<"\n";

   for(i=0;i<2;i++)
   {
     cout<<"\n\n\n\n";
     cout<<i+1<<"   number polar coordinate : ";
     cout<<"\n\n";
     ob[i].showpolar();
     cout<<"\n\n\n\n";
   }
   cout<<"\n\n\n\nResult\n\n";
   sumob = ob[0] + ob[1];
   sumob.showpolar();
   getch();
}

Check your hard disk for errors

You can help solve some computer problems and improve the performance of your computer by making sure that your hard disk has no errors.
Open Computer by clicking the Start button Picture of the Start button, and then clicking Computer.
Right-click the hard disk drive that you want to check, and then click Properties.
Click the Tools tab, and then, under Error-checking, click Check NowAdministrator permission required If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
To automatically repair problems with files and folders that the scan detects, select Automatically fix file system errors. Otherwise, the disk check will simply report problems but not fix them.
To perform a thorough disk check, select Scan for and attempt recovery of bad sectors. This scan attempts to find and repair physical errors on the hard disk itself, and it can take much longer to complete.
To check for both file errors and physical errors, select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors.
Click Start.
Depending upon the size of your hard disk, this may take several minutes. For best results, don't use your computer for any other tasks while it's checking for errors.