- This topic has 13 replies, 4 voices, and was last updated 7 months, 2 weeks ago by Diego Pérez.
- AuthorPosts
- October 13, 2023 at 7:52 pm #90672donatasParticipant
i did everything as zaid showed but i don’t know why it doesn’t work
Attachments:
You must be logged in to view attached files.October 13, 2023 at 10:39 pm #90676Diego PérezModeratorHi!
What do you mean by “it doesn’t work”? Have you checked the content of the data directory?Greetings!
DiegoOctober 13, 2023 at 10:43 pm #90677donatasParticipantI mean it doesn’t create data.txt file in data directory
Attachments:
You must be logged in to view attached files.October 14, 2023 at 9:07 pm #90909Diego PérezModeratorHi!
Are you running the login.php script in a cloud instance?Greetings!
DiegoOctober 14, 2023 at 9:24 pm #90911donatasParticipantyes
October 16, 2023 at 8:35 pm #91320Diego PérezModeratorHi!
And did you install apache server? Because php files shouldn’t display the code in screen when navigating to them, just like Zaid’s screen you should see an empty page, so it seems your web server is not running php code.Greetings!
DiegoJanuary 24, 2024 at 1:21 am #116617smuigaiParticipantI have same exact problem, when i hit log in nothing happens and my ‘data’ folder is empty, nothing gets written into it
Attachments:
You must be logged in to view attached files.January 24, 2024 at 7:43 pm #116868Diego PérezModeratorHi!
Can you share the content of the login.php script? Also share a screenshot of how it looks when you visit login.php through the browser.Greetings!
DiegoJanuary 29, 2024 at 11:16 pm #118451smuigaiParticipantAmazon flagged my account for violation for hosting a ‘phishing’ website in their cloud so i had to delete my kali. Can i host the same on Linode instead of aws? Thank you.
January 30, 2024 at 5:22 pm #118663Diego PérezModeratorHi!
Yes, you can try it, it should work.Greetings!
DiegoApril 5, 2024 at 12:01 am #136774ChikitoParticipantHello Zsecurity team,
I’m a new student here, and I also have the same issue, nothing gets written to the data.txt file in my /var/www/html/data directory even though the login.php file is in /var/www/html the same directory as index.html which is my cloned page.
I modified the HTML code and did everything EXACTLY the way Zaid did. I should note that I also updated and upgraded all my packages and that my machine is up to date, I also made sure I have PHP properly installed.
Additionally, I also changed the ownership and permissions of the data directory, everything in my /var/www/html and its subdirectories have kali:kali for group ownership and permissions.
Can someone please tell me what I did wrong? or if maybe the lesson needs to be updated?
Thank you.
April 6, 2024 at 12:58 am #137048Diego PérezModeratorHi Chikito!
Can you open a new thread please, there share screenshots from all the settings you have mentioned above.Greetings!
DiegoApril 6, 2024 at 7:43 pm #137298ChikitoParticipantHey Diego,
Cloudflare blocks my screenshots and code.
You can see the whole issue on Discord > Masterclass > Storing Login info on file.Can you please help me out, I’ve been stuck on this for days and no one is helping…
April 8, 2024 at 9:29 pm #137918Diego PérezModeratorHi!
Ok, I answered you there but you didn’t answer back. So check the Discord channel.Greetings!
Diego - AuthorPosts
- You must be logged in to reply to this topic.