commit
76469b8f0c
|
@ -5,6 +5,7 @@
|
|||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "evilportal",
|
||||
"version": "0.0.0",
|
||||
"dependencies": {
|
||||
"@angular/animations": "~9.1.11",
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
<br/>
|
||||
|
||||
<div class="previewContainer">
|
||||
<iframe class="previewWindow" src="http://172.16.42.1"></iframe>
|
||||
<iframe id="preview" class="previewWindow"></iframe>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -16,6 +16,8 @@ export class PreviewDialogComponent implements OnInit {
|
|||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
let hostnamediv = document.getElementById('preview');
|
||||
hostnamediv.setAttribute('src', 'http://'+window.location.hostname);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"title": "Evil Portal",
|
||||
"description": "An evil captive portal for the WiFi Pineapple.",
|
||||
"author": "newbi3",
|
||||
"version": "1.5.1",
|
||||
"version": "1.5.2",
|
||||
"firmware_required": "1.0.0",
|
||||
"devices": ["wifipineapplemk7","wifipineappleent1"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue