본문 바로가기

레오 골방

python 으로 packet 보내기 from socket import * a=0 #while a 더보기
Linux Kernel <= 2.6.37 Local Privilege Escalation 보호되어 있는 글입니다. 더보기
useradd + passwd [CentOS/RHEL] useradd -m -d /home/$i $i echo $i | passwd --stdin $i #!/bin/bash useradd $1 echo $2 | passwd --stdin $1 It seams the --stdin option does not exist under Ubuntu. You can write input in prog's stdin like ssh or passwd using socat but I think there is an easier way to do what you want. CENTOS/RHEL support the --stdin option. Appears Debian and it's variants like Ubuntu do not. [Ubunt.. 더보기
[API] CreateWindow - 스크랩 [API] CreateWindow 출처 : http://blog.naver.com/lkmneverdie/30040197928 · 실제 윈도우 생성 · 윈도우에 관한 모든 정보를 메모리에 만든 후, 윈도우를 대표하는 번호인 윈도우 핸들을 리턴 HWND CreateWindodw(lpszClassName, lpszWindowName, dwStyle, x, y, nWidth, nHeight, hwndParent, hmenu, hinst, lpvParam) · 인수 lpszClassName : 윈도우의 클래스를 지정하는 문자열 lpszWindowName : 윈도우의 타이틀 바에 나타낼 문자열 dwStyle : 생성할 윈도우의 형태 지정, OR연산자( | )로 연결 - WS_OVERLAPPEDWINDOW : 일반적.. 더보기
Windows Message List 한글화된 chm :) 출처 http://www.devpia.com/MAEUL/Contents/Detail.aspx?BoardID=51&MAEULNO=20&no=5909 더보기
Vmware drag and drop/copy Error (cannot determine local file size) vmware에서 vmware-tool을 설치 하면 drag and drop/copy 로 local에서 vmware로 파일을 옮길수 있다 이때 가끔 vmware cannot determine local file size 와 같은 에러 메시지가 뜨는데 옮길 대상 파일의 경로에 ASCII 가 있으면 뜨는 에러다 대상 파일을 ASCII가 없는 경로로 옮긴 다음 옮겨 주면 된다 더보기
Adobe Flash Player 10.1.102.64 vul 보호되어 있는 글입니다. 더보기
[Error-Ollydbg] Unable to write to memory of debugged process plugins - ollyHelper - options Auto Clear the debug bit 체크해제 더보기
About Ubuntu Summary sudo apt-get update sudo apt-get install -y vim ssh mysql-common mysql-server apache2 php5 php5-mysql Network Setting #vi /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet static address -.-.-.- netmask 255.255.255.0 gateway -.-.-.- /etc/init.d/networking restart #vi /etc/resolv.conf //DNS search localdomain nameserver 192.168.59.2 #vi /etc/hostname /etc/in.. 더보기
Local File Inclusion&Remote File Inclusion include "profile/$_SESSION[name]"; 이런 소스 코드가 있는 문제 페이지가 있다 어떤 특정 파일을 include 함으로써 이 페이지는 Local File Inclusion이나 Remote File Inclusion 취약점이 있다고 할수 있다 이런 취약점이 있으면 공백이나, 유효하지 않은 명령을 했을때 Warning: main() [function.include]: Failed opening 'profile/' for inclusion (include_path='.:/usr/local/php/lib/php') in /www/abcd.php on line 55 inclusion이 실패 하게 되고 위와 같이 Failed opening 메시지를 띄우게 된다 이런 경우 공략은 log 파일.. 더보기