are designed to survive heavy attack and inflict massive damage. Learn about the flight, weapons and armor systems of Apache

1. Set up a share folder.

mkdir /var/www/share

chmod -R 755 /var/www/share/

chown -R www-data:www-data /var/www/share/

To veiw if sharing type
ls -la /var/www/ | grep share

#########################

2. Start web server

service apache2 start

To shut down simply replace start with stop.

##########################

3. If not installed

apt-get install apache2

##########################

4. Copy files to the share

cp /root/.msf4/data/exploits/* /var/www/share/
–> * was a wildcard that mean I want to select all the folder contents

###########################

5. Access the file from another machine

http://(servers ip)/share

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s