1 / 3
2 / 3
3 / 3

Showing posts with label Codes. Show all posts
Showing posts with label Codes. Show all posts

Wednesday, May 13, 2015

All CMD Commands and Tricks : May 2015

Hi Friends,
The command prompt is not useless. In fact, it can be pretty useful. This article provides some excellent tricks, secrets and hacks that will make you realize that the Windows Command Prompt is not only useful but also a tool that you should definitely give more respect to by knowing these cool cmd commands


1. Accessibility Controls – access.cpl
2. Accessibility Wizard – accwiz
3. Add Hardware Wizard – hdwwiz.cpl
4. Add/Remove Programs – appwiz.cpl
5. Administrative Tools – control admintools
Read More

Thursday, April 2, 2015

Select the Best Python IDE

Hello Friends,
I’m mainly interested in IDEs that are cross-platform and have strong web development support (Django, HTML templates, JavaScript, etc). Because of this, well-regarded IDEs like PyScripter and Python Tools for Visual Studio are out since they are Windows-only. The Python website maintains a full list of Python IDEs.

Read More

Tuesday, July 23, 2013

Metasploit Basic Command Tutorial

Hello Friends,
Metasploit is the database of all exploits and a software that contain information about different exploits so here is the basic usage of metasploit, I am using backtrack 5 r3 machine for this tutorial however if you are using other Linux distribution or windows OS than it is fine but the requirement is Metasploit.
Like us on facebook https://www.facebook.com/justhackitnow
oin Just hack it now group on facebook
Join Just hack it now group on facebook - See more at: http://www.justhackitnow.com/2013/07/security-apps-to-help-protect-iphone.html#sthash.1LCxil2q.dpuf
Like us on facebook https://www.facebook.com/justhackitnow
Join Just hack it now group on facebook - See more at: http://www.justhackitnow.com/2013/07/security-apps-to-help-protect-iphone.html#sthash.1LCxil2q.dpuf
Like us on facebook https://www.facebook.com/justhackitnow
Join Just hack it now group on facebook - See more at: http://www.justhackitnow.com/2013/07/security-apps-to-help-protect-iphone.html#sthash.1LCxil2q.dpuf

Read More

Thursday, May 2, 2013

Call of Duty Cheat codes : How To

Hidden comment
In Burnville (the second map), when you have to go into the church to knock out the two machinegunners and the antiaircraft fire, do not go to the church. Instead, stay behind the big tomb with a cross on it and throw grenades over the wall to where the two machine gunners and antiaircraft guns would be (the corner of where the walls meet above it). Keep throwing them until someone says "Way to chuck, Private".
Cannot Cheat from this server fix
Read More

Friday, April 13, 2012

C++ Code snippet for random number generation and guess quiz

snippet of code :

#include <iostream>
#include <cmath>

using namespace std;


int main()
{
    int p;
    int s;
    int z;
    int x = (p%100)*(s%100);
    if (x>8000){
        z = x/100;
    }
    else if(x>5000 && x<=8000){
        z = x/90;
    }
    else if(x>1000 && x<=5000)
    {   
        z = x/75;
    }
    else if(x>100 && x<=1000){
        z = x/35;   
    }
    else {
        z = x/10;
    }
    int opt;
    int n;
    cout<<"My Program generates a random number."<<endl;
    cout<<" Can you guess what it is?"<<endl;
    cout<<"You may take some help but remember these are limited.";
    cout<<endl;
    cout<<endl;   
    int count=0,count1=0,count2=0,count3 = 0;
   
    while(1){

        cout<<"1.Check the range in which the number can be"<<endl;
        cout<<"2.Check if the number is odd or even"<<endl;
        cout<<"3.check if the number is prime or not"<<endl;
        cout<<"4.Guess Your number (Only two time)"<<endl;
        cout<<"5.The number is ?"<<endl;
        cout<<"6.exit"<<endl;
        cout<<"Choose your option : "<<endl;
        cin>>opt;
        switch(opt){
            case 1 :
            {
            if(count==0){
                if (z<=50){
                    if(z <= 25){
                        if(z<=10){
                            cout<<"In range of 0 to 10"<<endl;
                        }
                        else{
                            cout<<"In range of 11 to 25"<<endl;
                        }
                    }
                    else if (z <=40){
                        cout<<"In range of 26 to 40";
                        }
                    else {
                        cout<<"in range of 41 to 50";
                        }
                    }
               
                else if(z<=60){
                    cout <<"In range of 51 to 60";
                    }
                else if (z <= 70){
                    cout <<"In range of 61 to 70";}
                else if (z <= 80){
                    cout <<"In range of 71 to 80";}
                else if (z <= 90){
                    cout <<"In range of 81 to 90";}
                else{
                    cout <<"In range of 91 to 99";
                }
            count = count+1;
            cout<<endl;
            }
            else {
                cout<<"You already had checked the range";
                cout<<endl;
            }
            }
            break;
            case 2:{
                if(count1 == 0){
                if(z % 2 == 0){cout<<"Number is even"<<endl;}
                else{cout<<"Number is odd"<<endl;}
                count1 = count1+1;}
                else{
                    cout<<"You already checked it"<<endl;
                }}
                break;
            case 3:{
                int f = (int)sqrt((double)z);
                int flag=1;
                for(int i=3; i<=f; i++ ){
                    if(z == 1 || z==0 ){
                        cout <<"Neither prime nor not prime";
                        }
                    else if(z == 2){
                        cout<<"Prime number";
                        }
                    if(z%i==0){
                        cout<<"Not prime";
                        flag = 0;
                        break;
                        }
                    }
                if(flag == 1){cout<<"Prime number";}
                cout<<endl;
                }   
            break;
            case 4:{
                if(count2 <= 2){
                    cout<<"Enter Number : "<<endl;
                    cin>>n;
                    if(n==z){
                    cout<<"You Won!!!!! Game exits!"<<endl;
                    count2 = count2 + 1;
                    return 0;
                    }
                    else{
                        count2 = count2 + 1;
                        cout<<"Incorrect guess. "<<"You have "<<(2-count2)<<" option left";}
                    if(count2 == 2){
                        cout<<"Game Over !!";
                        return 0;
                        }
                    cout<<endl;
                    }
                    }
                break;
            case 5: {
                cout<<endl<<"The number is "<<z<<" !"<<endl;
                break;
                }
           
            case 6:{
                cout<<"Thank you for playing my game :) "<<endl;
                break;
                return 0;
                }
            default :{
                cout<<"Please maintain the game rules and choose right option"<<endl;
                cout<<endl;
                break;
}
}

}
}
Read More

Search This Blog

Powered by Blogger.

Pages