Saturday, 26 December 2015
Saturday, 19 December 2015
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.
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
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;
}
Subscribe to:
Posts (Atom)