Comments (5)
find the syntax overhere:
https://github.com/0xchocolate/flipperzero-wifi-marauder/blob/a7902aade81c71ced821a30c7e864bcb3578a82b/applications/external/wifi_marauder_companion/script/wifi_marauder_script.h
{
"meta": {
"description": "My script",
"repeat": times the script will repeat (default 1),
"enableLed": true (default) | false,
"savePcap": true (default) | false
},
"stages": {
"scan": {
"type": "ap" | "station",
"timeout": seconds,
"channel": 1-11
},
"select": {
"type": "ap" | "station" | "ssid",
"filter": "all" | "contains -f '{SSID fragment}' or equals '{SSID}' or ...",
"indexes": [0, 1, 2, 3...],
},
"deauth": {
"timeout": seconds
},
"probe": {
"timeout": seconds
},
"sniffRaw": {
"timeout": seconds
},
"sniffBeacon": {
"timeout": seconds
},
"sniffDeauth": {
"timeout": seconds
},
"sniffEsp": {
"timeout": seconds
},
"sniffPmkid": {
"forceDeauth": true (default) | false,
"channel": 1-11,
"timeout": seconds
},
"sniffPwn": {
"timeout": seconds
},
"beaconList": {
"ssids": [
"SSID 1",
"SSID 2",
"SSID 3"
],
"generate": number of random SSIDs that will be generated,
"timeout": seconds
}
"beaconAp": {
"timeout": seconds
}
"exec": {
"command": Command (eg: "clearlist -a")
}
"delay": {
"timeout": seconds
}
}
}
Note: It is possible to inform "stages" as an array, allowing ordering and repetition of stages of the same type:
"stages": [
{
"beaconList": { "ssids": ["SSID 1", "SSID 2"] }
},
{
"beaconList": { "generate": 4 }
},
]
}
from flipperzero-wifi-marauder.
Thank You for your help and for the app!
from flipperzero-wifi-marauder.
Is there a way to evil portal html templates in a script? I can't get it to work sadly.
i have a script like this:
{
"meta": {
"description": "EvilPortal-McDonalds",
"repeat": 1.0000000000000000
},
"stages": [
{
"exec": {
"command": "ssid -a -n TestPortal"
}
},
{
"exec": {
"command": "evilportal -c sethtml portals/TestPortal.html"
}
},
{
"exec": {
"command": "evilportal -c start"
}
}
]
}
the template works and is tested.
the html file is located under /apps_data/marauder/portals/TestPortal.html
But it seems like the upload of the html is via serial. so how do i send it over as a command ?
i know that i need to use evilportal -c sethtmlstr
somehow. but how can i pipe the input of a file into it?
from flipperzero-wifi-marauder.
Change the sethtml command to sethtmlstr as you noted, then the next "command" should be the full html contents. (I don't know whether this would work in a script, but try it out!)
from flipperzero-wifi-marauder.
I'll give it a try. Would be nice if parsing a file could be a feature in code. Shouldn't be that hard to parse it too.
something like $file{portals/TestPortal.html}
.
so the parser would look for $file and load the file in brackets as a string. ( as some sort of function )
I think that would be a very nice addition and open up some more possibilities.
This is also expandable for future use of such escape sequences like $exec or $time etc ...
from flipperzero-wifi-marauder.
Related Issues (20)
- Where is the SSID list saved on the memory card?
- bluetooth attack not supported by esp32-s3-1u module HOT 1
- Issue with Marauder
- Nothing happens when anything is selected HOT 2
- Flashing Issue on LDDB HOT 1
- Flipper locks after editing wifi marauder stages
- "Add Script" input contains text of other used text inputs HOT 1
- Adding a Script Causes Flipper Zero to Freeze HOT 1
- Flipper Evil Portal html issue
- Wifi DevBoard installation does not work HOT 7
- Button Order - Attack, Sniff HOT 2
- Passive sniff mode spams deauth packets
- Update the [ESP32] WiFi Marauder app for the SDK version 0.98.2-rc f7
- Update the [ESP32] WiFi Marauder app for the SDK version 0.98.0-rc f7
- Update the [ESP32] WiFi Marauder app for the SDK version 0.98.1-rc f7
- Update the [ESP32] WiFi Marauder app for the SDK version 0.99 f7
- Beacon Spam from SSID list does not run more than one selected SSID
- Wigle.net compatible wardriving log
- LED not work on S2 MINI (ESP32)
- Sound alert
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flipperzero-wifi-marauder.