고객사의 사이트에 자동화된 봇으로 확인되는 접근이 확인되어 조회결과 아래의 사이트 발견

IP와 Agent를 기반으로 조회할 수 있음, API도 제공함

 

 

링크 : http://user-agent-string.info/list-of-ua/bots-ip?ip=123.125.71.17

Posted by 김주일
 


로컬PC에 있는 쿠키값을 가져다 브라우저에 띄워준다. << 요걸위해 클릭잭킹을 유도한다.

링크 : http://sites.google.com/site/tentacoloviola/ 
Posted by 김주일
Postfix 메일 발송 중 아래의 에러가 발생함.

Feb 15 11:06:53 mail spamc[14183]: skipped message, greater than max message size (512000 bytes)

spamassassin 데몬(spamc)이 용량제한 설정으로 추정됨.

허나 아래와 같이 Postfix 메일 설정(main.cf)을 변경하여 에러를 해결함.

message_size_limit = 41943040

위 용량 크기는 byte 단위로서 포털로 대용량 메일 발송시 반송 메일 내 메일용량크기를 확인하여 설정한 값임.
(40MB)
Posted by 김주일
### postgresql password reset ###
Step 1. Edit PostgreSQL config file to establish trust relationship to login without password:
# vi /var/lib/pgsql/data/pg_hba.conf
Old Line:
local all postgres password
Change it to:
local all postgres trust

Step 2. Restart PostgreSQL Server:
# /etc/rc.d/init.d/postgresql restart

Step 3. Change password:
# psql -U postgres template1 -c alter user postgres with password ‘newpassword’;

Step 4. Password has been updated. Revert back the original settings of config file:
# vi /var/lib/pgsql/data/pg_hba.conf
Old Line:
local all postgres trust
Change it to:
local all postgres password

Step 5. Restart server and use your new password to access PostgreSQL Server.
# /etc/rc.d/init.d/postgresql start


0X00. database conn #############
# psql -U segio template1

0x01. database list #########
=# \l
# psql -U postgres -l
        List of databases
   Name    |  Owner   | Encoding
-----------+----------+----------
 cell_000  | user_000 | UTF8
 postgres  | postgres | UTF8
 template0 | postgres | UTF8
 template1 | postgres | UTF8
(4 rows)

0x02.  database access#########
# psql -U postgres cell_000

0x03.  database table#########
cell_000=# \dt

0x04. user table #############
cell_000=# select * from user_info;
 no | rname  | uname  |   uid    |    passwd     |        email        |   mobile    |  birth   | zipcode | zipcode2 | addr1 | addr2 | addr3 | addr4 |           quiz           | answer | polimg | uimg |  level   |   wdate    | udate | open | type | class | ext1 | ext2 | ext3 | ext4 | ext5 | ext6
----+--------+--------+----------+---------------+---------------------+-------------+----------+---------+----------+-------+-------+-------+-------+--------------------------+--------+--------+------+----------+------------+-------+------+------+-------+------+------+------+------+------+------
  1 | sysop  | sysop  | sysop    | ㅇㅇㅇㅇ |                     |             |          |         |          |       |       |       |       |                          |        |        |      | 9,관리자 | 1294742453 |       |      | 0    |       |      |      |      |      |      |
(1건 있음)

Posted by 김주일
어플리케이션/웹보안2010. 12. 28. 14:24
Posted by 김주일
2010. 9. 10. 11:45

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

2010. 8. 20. 15:13

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.




ref : http://www.red-database-security.com/
Posted by 김주일
Posted by 김주일
2010. 8. 12. 13:01

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.