PART 1-CHECKING NETWORK
1.
First, let's make
sure the connection is really down by pinging a known external address. I use Road Runner as my ISP, so for me, the
command would be:
ping www.fairuzunimap-laboperatingsystem.blogspot.com
2.
Something like
this should appear:
3.
Press CTRL/+ C to
stop the output. If the command line says timed out, or says something about no
host or bad route, the connection is indeed down. Let's try to fix it.
3. In the terminal session (client) run this command:
ftp 192.168.56.1
(my ip
address for server) and type server username and password
4. It should show something like logged on. Then type this command ls -la
5.
You should see
listing files. Run help to show a list of commands. They might not all
available on your system (which I consider bug).
6.
One thing to
remember when using ftp is to know where you are at all times. It very easy to
get confused. Use pwd often it will show connection time out.
7.The commands that I type are on the server, to run command locally,
prefix it with an exclamation point. Try this command: pwd and then type! ls
8.
So let’s actually do something. Change local
directory to /tmp by running:
lcd /home/kali/jklewis
9. Run! ls command
10.
Now let's copy
file file1.txt to the server: put file1.txt 11.Now let's retrieve file5.txt
from the server
12.
Run this command
to exit ftp: quit
13. Now let's run scp command to begin: cd /tmp
14.
Create test file:
ls> file1.txt
PART 3 (TELNET SERVER)
1.You need to install telnet server first and check with cmd.
2.Run this command on Linux:
telnet localhost.
3.A banner and
prompt should appear. Enter the username and password.
PART 4: SSH SERVER
1.Run this
command to exit session: ssh service status to check ssh is running or not if
not run ssh service start
2.
Now let’s try
running secure shell session. Run this command
ssh fairuzlinux@127.0.0.1.Enter the password.
5.
Run this command
to exit session: exit
GETING A WEB PAGE WITHOUT A BROWSER
-WGET
1. Run the following command: cd /tmp
2. Run the following command enter any website u know
3.
The resulting file will be named index.html. View it with more
index.html. Yes, its general webpage kali Linux.
4. Specific file. Try this command:
Comments
Post a Comment