added manifest file

This commit is contained in:
Stefan Kremser
2017-03-04 10:35:33 +01:00
parent 0f5f48d804
commit 00ec81abd9
3 changed files with 50 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -79,6 +79,7 @@ void setup(){
/* header links */
server.on ("/style.css", loadStyle);
server.on ("/manifest.json", loadManifest);
/* JSON */
server.on("/APScanResults.json", sendAPResults);
@@ -123,6 +124,7 @@ void loadClients(){ server.send ( 200, "text/html", data_getClientsHTML()); }
void loadAttack(){ server.send ( 200, "text/html", data_getAttackHTML() ); }
void loadFunctionsJS(){ server.send( 200, "text/javascript", data_getFunctionsJS() ); }
void loadStyle(){ server.send ( 200, "text/css", data_getStyle() ); }
void loadManifest(){ server.send ( 200, "text/css", data_getManifest() ); }
void loadSettings(){ server.send( 200, "text/html", data_getSettingsHTML() ); }

38
htmlfiles/manifest.json Normal file
View File

@@ -0,0 +1,38 @@
{
"sites":[
"error404.html",
"style.css",
"functions.js",
"index.html",
"clients.html",
"attack.html",
"settings.html"
],
"json":[
"APScanResults.json",
"ClientScanResults.json",
"settings.json",
"attackInfo.json"
],
"commands":[
"APScan.json",
"APSelect.json",
"ClientScan.json",
"ClientScanTime.json",
"clientSelect.json",
"setName.json",
"attackStart.json",
"settingsSave.json",
"settingsReset.json",
"deleteName.json",
"clearNameList.json",
"editNameList.json",
"addSSID.json",
"cloneSSID.json",
"deleteSSID.json",
"randomSSID.json",
"clearSSID.json",
"resetSSID.json",
"saveSSID.json"
]
}