본문 바로가기

전체 글143

python Advanced topics 2. Advanced topicsThis part of the Scipy lecture notes is dedicated to advanced usage. It strives to educate the proficient Python coder to be an expert and tackles various specific topics.2.1. Advanced Python Constructs2.1.1. Iterators, generator expressions and generators2.1.2. Decorators2.1.3. Context managers2.2. Advanced Numpy2.2.1. Life of ndarray2.2.2. Universal functions2.2.3. Interopera.. 2014. 6. 16.
pyV8 관련 Ubuntu x64에 PyV8 설치하기. pyv8-linux-x64This is a binary distribution of PyV8 for Linux x86_64.Dependencies:Boost 1.54PyV8 and V8 versions included:PyV8 revision 557V8 branch 3.22InstallationTo install:pip install -e git+https://github.com/taguchimail/pyv8-linux-x64.git#egg=pyv8 UsageImport the pyv8 package to start using PyV8.# From the PyV8 website >>> from pyv8 import PyV8 >>> ctxt = PyV8.JSCont.. 2014. 6. 10.
php & ajax webshell - ajax로 명령어 처리 및 자동완성 기능을 넣었다.- 왼쪽 탭에는 참고 할만한 정보들 보여준다 ~ 아래는 실행 화면 ~ 2014. 5. 26.
pydbg로 Fuzzer 만들기 퍼저 동작원리 50byte의 buffer에 인자값으로 받은 파일의 첫 번째 바이트만큼 문자열을 읽어오는 취약한 프로그램이다. 아래 프로그램으로 간단하게 퍼징 테스트 수행 ~ #include "stdio.h" #include "stdlib.h" void vuln(char *path) { FILE *fd; int size=0; char buf[50]; fd = fopen(path, "rb"); fscanf(fd, "%c", &size); fgets(buf, size, fd); printf("size : %d \n", size); printf("data : %s \n", buf); } int main(int argc, char **argv) { if(argc != 2){ printf("%s (test file.. 2014. 4. 27.