Tuesday, 8 December 2015

Installing Metasploit Framework on Ububtu


If you have a 32 bit Ubuntu then download
http://downloads.metasploit.com/data/releases/metasploit-latest-linux-installer.run

If you have a 64 bit Ubuntu then download
http://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run

then provide it permission for executing
chmod +x ./metasploit-latest-linux-installer.run

then install it by typing
./metasploit-latest-linux-installer.run

Then installation will begin, then press the option correclty, then it will installed correctly.
Thenn restart the system,
Now your metasploit framework is ready.

Saturday, 5 December 2015

Linked List - entering data at the end

https://www.youtube.com/watch?v=3m6yitpOaLM

Program in C to enter data at the end of linked list



void end(struct node* head, int data){
struct node* newNode;
struct node* temp; newNode=(struct node*)malloc(sizeof(struct node));
newNode->data=data;

while(head!=NULL){
temp=head;
head=head->next;
}
newNode->next=temp->next;
newNode->prev=temp;
temp->next=newNode;
}

Tuesday, 1 December 2015

Hacking Windows XP with MS 03 026 DCOM vulnerability

https://www.youtube.com/watch?v=fIPrBP0521s

Port scanning with Hping3

https://www.youtube.com/watch?v=a9orSO8LXoo

MITM - Man In The Middle Attack through Kali Linux

https://www.youtube.com/watch?v=kzH7dN1AHJQ

pdfcrack - Crack your PDF file password

https://www.youtube.com/watch?v=yyaUvsOWrBw

Linked List Basics


https://www.youtube.com/watch?v=ctyr__7wN_E




#include <stdio.h>
#include <stdlib.h>
struct node{
int data;
struct node* next;
};

void print(struct node* head){
head=head->next;
while(head!=NULL){
printf("%d ", head->data);
head=head->next;
}
}
int main(){

struct node* head;
struct node* two;
struct node* three;

head=(struct node*)malloc(sizeof(struct node));
two=(struct node*)malloc(sizeof(struct node));
three=(struct node*)malloc(sizeof(struct node));

head->next=two;
two->next=three;
three->next=NULL;

two->data=10;
three->data=20;

print(head);

return 0;
}


Tuesday, 24 February 2015

Number Pattern


Number pattern

 
   12345
   1234
   123
   12
   1
  

Code for this pattern

#include <stdio.h>

int main()
{
    int i, j;
    for(i=5;i>=1;i--)
    {
        for(j=1;j<=i;j++)
        {
            printf("%d",j);
        }
        printf("\n");
    }

    return 0;
}