DarkFlippers / unleashed-firmware

Flipper Zero Unleashed Firmware
https://t.me/flipperzero_unofficial
GNU General Public License v3.0
17.01k stars 1.42k forks source link

Evil Portal on ESP Marauder App #582

Open malebuffy opened 1 year ago

malebuffy commented 1 year ago

Describe the bug.

When using the Unleashed Firmware with the built in ESP Marauder app, the built in Evil Portal app doesn't work. I have put the evil_portal folder on the apps_data folder as in the Evil Portal instructions. It finds the index.html file but although the ap_config.txt file is in the same folder, it dosn't recognise/finds it. Any pointers?

Noter: Not talking about the standalone ESP32 Evil portal (which for some reason crashed for me)

Reproduction

  1. Select Apps
  2. ESP32 Marauder
  3. Evil portal
  4. Error appears.

Target

No response

Logs

No response

Anything else?

No response

xMasterX commented 1 year ago

What error appears when you select evil portal in marauder? and why do you think it should use same files and folders as regular evil portal app? what crashes do you get and steps to reproduce them?

malebuffy commented 1 year ago

What error appears when you select evil portal in marauder?

Ap.config.txt not found

and why do you think it should use same files and folders as regular evil portal app?

Because when I Recreate the evil_portal folder it stops lookikg for the index.html file and only searches for the ap.config.txt file. When the folder is missing the errror medsage is: cannot find index.html

what crashes do you get and steps to reproduce them?

With this version I do not get crashes. I get crashes if I install the standalone evil portal from flipc.org

massif-py commented 12 months ago

ssid -a -n uwu

gphoenix14 commented 11 months ago

What is the folder where we ought to place index.html?

malebuffy commented 11 months ago

What is the folder where we ought to place index.html?

apps_data/evil_portal

Banditwon commented 11 months ago

Did you figure it out?

malebuffy commented 11 months ago

unfortonately not. installed it standalone.

mwooller commented 11 months ago

You don't need the ap.config.txt - select the ssid in the marauder app, and when you start evil_portal it will use that ssid

ruehlinger commented 10 months ago

setting the ssid fixed the ap.config.txt issue I was having but now it is saying it cannot find index.html even though it is in apps_data/evil_portal. I even tried to move index.html to the html folder but to no avail. Any suggestions?

datadotlog commented 10 months ago

In my case, it's not showing any errors, but don't go ahead of "Setting HTML"

dfucci commented 9 months ago

In my case, it's not showing any errors, but don't go ahead of "Setting HTML"

Same identical issue for me. Did you figure this out?

boobaloop commented 8 months ago

@dfucci did you get this to work?

akashrpatil commented 8 months ago

setting the ssid fixed the ap.config.txt issue I was having but now it is saying it cannot find index.html even though it is in apps_data/evil_portal. I even tried to move index.html to the html folder but to no avail. Any suggestions?

Same issue

jstgtngstrtd commented 8 months ago

Was this ever resolve? I have found a workaround.

akashrpatil commented 8 months ago

Was this ever resolved? I have found a workaround.

Can you please help me on the same?

boobaloop commented 8 months ago

I was able to get this to work by switching from a 64 gb microSDXC sd to a 16 gb microSDHC sd card

jstgtngstrtd commented 8 months ago

Sure, I can try to help. I am running the latest Unleashed Firmware.

-I placed the evil_portal file in SD Card/apps_data/marauder -I cannot get the ap.config.txt to work at this point and I have not really tried that hard. I will work on that at a later point.

Here is the workaround: -Go to Apps -> GPIO ->[ESP32] Wifi Marauder-> SSID -> Select "add name" (to add an SSID for example "free google wifi") and save

-Next go to List -> Select "ssid" and find number associated with the ssid you created ->Go to Select and change to "ssid" and enter the number associated with the ssid this number should be "0" at this point and save.

-Now go to "Load Evil Portal HTML file" and choose the file you would like to use.

-Final step, Go to Evil Portal and start. At this point the IP address of your portal should be displayed. Connect a device to the free google wifi and enter Username and Password and it should display on your Flipper.

Please note: Do not try to run Marauder at the same time as Evil Portal, this will not work. I suggest clearing all lists before doing the above. I hope this helps

akashrpatil commented 7 months ago

Sure, I can try to help. I am running the latest Unleashed Firmware.

-I placed the evil_portal file in SD Card/apps_data/marauder -I cannot get the ap.config.txt to work at this point and I have not really tried that hard. I will work on that at a later point.

Here is the workaround: -Go to Apps -> GPIO ->[ESP32] Wifi Marauder-> SSID -> Select "add name" (to add an SSID for example "free google wifi") and save

-Next go to List -> Select "ssid" and find number associated with the ssid you created ->Go to Select and change to "ssid" and enter the number associated with the ssid this number should be "0" at this point and save.

-Now go to "Load Evil Portal HTML file" and choose the file you would like to use.

-Final step, Go to Evil Portal and start. At this point the IP address of your portal should be displayed. Connect a device to the free google wifi and enter Username and Password and it should display on your Flipper.

Please note: Do not try to run Marauder at the same time as Evil Portal, this will not work. I suggest clearing all lists before doing the above. I hope this helps

Hey, Thank you for your detailed response. but still, I followed your steps twice but got stuck on that Setting HTML line :(. If it is possible can you please make a quick video and post it on YouTube that can be helpful for most of the people who are facing this issue Thank you so much for your help.

jstgtngstrtd commented 7 months ago

Hey, Thank you for your detailed response. but still, I followed your steps twice but got stuck on that Setting HTML line :(. If it is possible can you please make a quick video and post it on YouTube that can be helpful for most of the people who are facing this issue Thank you so much for your help.

Hi there, Before I go and do that I would like to ask if you placed the evil_portal file in the correct folder. You originally stated that you placed the evil_portal file in SD Card/apps_data, it needs to be placed in SD Card/apps_data/marauder. Is this where you have the evil_portal file?

akashrpatil commented 7 months ago

Hey, Thank you for your detailed response. but still, I followed your steps twice but got stuck on that Setting HTML line :(. If it is possible can you please make a quick video and post it on YouTube that can be helpful for most of the people who are facing this issue Thank you so much for your help.

Hi there, Before I go and do that I would like to ask if you placed the evil_portal file in the correct folder. You originally stated that you placed the evil_portal file in SD Card/apps_data, it needs to be placed in SD Card/apps_data/marauder. Is this where you have the evil_portal file?

Yes, I have placed Evil Portal file on the same path that is provided by you.

jstgtngstrtd commented 7 months ago

Hey, Thank you for your detailed response. but still, I followed your steps twice but got stuck on that Setting HTML line :(. If it is possible can you please make a quick video and post it on YouTube that can be helpful for most of the people who are facing this issue Thank you so much for your help.

Hi there, Before I go and do that I would like to ask if you placed the evil_portal file in the correct folder. You originally stated that you placed the evil_portal file in SD Card/apps_data, it needs to be placed in SD Card/apps_data/marauder. Is this where you have the evil_portal file?

Yes, I have placed Evil Portal file on the same path that is provided by you.

Are the html files showing when you open the evil_portal file?

HTML

akashrpatil commented 7 months ago

Hi Mate, While opening the evil portal I got this 2 3

Even I try to set the HTML manually 2

jstgtngstrtd commented 7 months ago

I would take a few steps back. Set your folder structure up like this. Maraud Portal

Let me know when you have your structure set up like this and then I can walk you through it.

jstgtngstrtd commented 7 months ago

I wrote a how to on the steps that I took to get it to work. It seems like a lot but it only takes me about a minute to set up my own ssid and get this up and running.

Evil portal on ESP Marauder.docx

akashrpatil commented 7 months ago

I wrote a how to on the steps that I took to get it to work. It seems like a lot but it only takes me about a minute to set up my own ssid and get this up and running.

Evil portal on ESP Marauder.docx

Hey Bro So sorry for the late revert. I have tried the same things which are mentioned in the document. On the Load Evil Portal HTML File I'm getting an error I guess there are some issues in the firmware itself😅 Screenshot-20240203-215815

Wilfredo215 commented 7 months ago

Yeah i get the same thing @akashrpatil

Wilfredo215 commented 7 months ago

I found the issue. If you previously flashed it with the esp flasher then it will not work you have to flash it with the marauder flasher from https://github.com/UberGuidoZ/Flipper/blob/main/Wifi_DevBoard/FZ_Marauder_Flasher/ReadMe.md ... Then the doc provided by @jstgtngstrtd works like a charm

akashrpatil commented 7 months ago

Hi, @jstgtngstrtd @Wilfredo215 Thank you so much guys only because of your help, I'm able to set up the portal 😭

Eq1ofof commented 4 weeks ago

After flashing the devboard like mentioned by @Wilfredo215 the problem disappeared and the issue can be closed.