Results 1 to 15 of 15

Thread: WiFi-Lock Kali NetHunter???

  1. #1
    Join Date
    2015-Aug
    Posts
    2

    WiFi-Lock Kali NetHunter???

    Hi, I have a problem with the server apache in kali Nethunter: when start the service and I put the ip of Kali in a PC connected to the LAN opens a page called WiFi-Lock. what is it? how can I turn it off? I tried to reconfigure the apache server and reinstalling Nethunter but nothing ... thanks in advance, and sorry for my bad english

  2. #2
    Join Date
    2015-Aug
    Posts
    2
    I am having the same issue. Even with apache stopped the issue remains. Starting to think it is some service the provider is running or maybe a built in feature.

  3. #3
    Join Date
    2015-Aug
    Posts
    7
    Guessing it's somekind of phishing site template that has been set as index-page for Apache by default.

  4. #4
    Join Date
    2015-Aug
    Posts
    2

    Problem Solved

    Hey Aless888,

    The Wifi-Lock is a page hosted by apache in the following folder:

    /etc/apache2/sites-enabled.

    You can clear out the entries in that directory and then run the following command to return to the normal Apache2 config:

    cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-enabled/

    That will set Apache2 to the default index.html located in /var/www

  5. #5
    Join Date
    2015-Aug
    Posts
    2
    solved, thanks. I thought that was a service..

  6. #6
    Join Date
    2015-Sep
    Posts
    9
    I still can't get this to work! What am I doing wrong?

  7. #7
    Join Date
    2015-Sep
    Posts
    2
    just follow buckaroot's instruction at post #4
    BTW it's not important at all...

  8. #8
    Join Date
    2015-Sep
    Posts
    9
    Thanks.. I got it. I can only use this on my LAN. What would I need to do to use it on WAN? My ISP sets my external and is dynamic.

  9. #9
    Join Date
    2015-Mar
    Posts
    10
    If I understand correctly, I think you would need to forward ports on the router your ISP gave you. Maybe this link will help.

  10. #10
    Join Date
    2015-Apr
    Posts
    20
    Quote Originally Posted by Noob123 View Post
    If I understand correctly, I think you would need to forward ports on the router your ISP gave you. Maybe this link will help.
    lots of times, cell carriers will block low standard ports, just change your apache up to something like 8888 and see if you can hit it

  11. #11
    Join Date
    2015-Sep
    Posts
    9
    Where would I change that at?

  12. #12
    Join Date
    2015-Mar
    Posts
    10
    You would change it in the admin panel of your router. If you forward the port and tell the router all traffic is to go to the IP of your machine, you should be able to connect using the external IP.

  13. #13
    Join Date
    2016-Oct
    Posts
    1
    Wifilock page is not change when I clear all entries in /etc/apache2/sites-enabled
    and running this command
    cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-enabled/

  14. #14
    Join Date
    2017-Mar
    Posts
    1
    Hey guys.
    Ive been battling with this same issue for a while now. Ive followed buckaroots instructions of clearing /etc/apache2/sites-enabled and running cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-enabled/ but nothing changes. Ive tried reinstalling, updating apache2 but nothings changed. Not sure what im doing wrong. Any help would be much appreciated.
    Thanks
    Jackkk

  15. #15
    Join Date
    2015-Oct
    Posts
    5
    Quote Originally Posted by jackkk View Post
    Hey guys.
    Ive been battling with this same issue for a while now. Ive followed buckaroots instructions of clearing /etc/apache2/sites-enabled and running cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-enabled/ but nothing changes. Ive tried reinstalling, updating apache2 but nothings changed. Not sure what im doing wrong. Any help would be much appreciated.
    Thanks
    Jackkk
    I'm pretty sure its not apache2 that is causing wifi-lock I think its mana-toolkit.
    I would try to run
    dpkg-reconfigure mana-toolkit but you may need to run "apt-get install mana-toolkit" first. I noticed in nethunter app config files were blank.
    Then dpkg-reconfigure apache2 "just in case"

    You said you cleared /etc/apache2/sites-enabled sounds like you deleted the files first, I don't believe I had to do that I just copied the 000-default.conf into the sites-enabled directory with the command you mentioned. Then it should point to the default apache page in /var/www after you run
    service apache2 restart. If something is still wrong try updating your metapackages from the nethunter app but it might undo the changes made with the
    sites-enabled directory so you might want to do it first if you didn't when you first installed nethunter ROM.

    Just remember these are just troubleshooting tips off the top of my head so use good judgment hope this helps
    Last edited by Exile666; 2017-03-23 at 23:28.

Similar Threads

  1. best external wifi dongle to use with nethunter for wifi attacks
    By keyboardjunkie in forum NetHunter General Questions
    Replies: 25
    Last Post: 2019-03-29, 10:32
  2. Kali lock screen halts all terminals
    By AlienMan in forum General Archive
    Replies: 0
    Last Post: 2014-02-22, 23:20

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •