'2017/07'에 해당되는 글 2건

[QEMU] iptime emulating

공부 2017. 7. 26. 20:04
반응형

힘드렀다


apt-get install qemu-system-mipsel

wget https://people.debian.org/~aurel32/qemu/mipsel/vmlinux-3.2.0-4-4kc-malta

wget https://people.debian.org/~aurel32/qemu/mipsel/debian_wheezy_mipsel_standard.qcow2



qemu-system-mipsel -kernel vmlinux-3.2.0-4-4kc-malta -hda debian_wheezy_mipsel_standard.qcow2 -append "root=/dev/sda1" -nographic -redir tcp:3080::80 -redir tcp:3022::22



cp ./default/* ./tmp/ 


chroot ./ ./bin/sh 


./sbin/httpd


cd /

mkdir /home/httpd/192.168.0.1/sess-bin

cp -r cgibin/* /home/httpd/192.168.0.1/sess-bin/

cp -r cgibin/* /bin/login-cgi

'공부' 카테고리의 다른 글

python AES  (0) 2018.08.10
[IDA] C++ Class 변환  (0) 2017.08.09
[how2heap] poison_null_byte  (0) 2017.05.09
64비트 Calling Convention  (0) 2017.05.09
GCC Stack Boundary  (0) 2017.04.27
블로그 이미지

KuroNeko_

KuroNeko

,

[Library] vcpkg

자료 2017. 7. 26. 02:40
반응형

vcpkg 설치

  1. 소스코드 가져오기

     C:\>git clone https://github.com/Microsoft/vcpkg.git c:\work.vcpkg
     Cloning into 'c:\work.vcpkg'...
     ...
    
  2. 빌드

     C:\work.vcpkg>c:\work.vcpkg\bootstrap-vcpkg.bat
     Microsoft (R) Build Engine version 14.0.25420.1
     ...
    
  3. Visual Studio 연동

     C:\work.vcpkg>vcpkg integrate install
     Applied user-wide integration for this vcpkg root.
    
     All MSBuild C++ projects can now #include any installed libraries.
     Linking will be handled automatically.
     Installing new libraries will make them instantly available.
    
     CMake projects should use -DCMAKE_TOOLCHAIN_FILE=C:/work.vcpkg/scripts/buildsystems/vcpkg.cmake
    
     C:\work.vcpkg>
    
  4. 패키지 설치

     C:\work.vcpkg>vcpkg install boost:x86-windows boost:x86-windows-static boost:x64-windows boost:x64-windows-static
     C:\work.vcpkg>vcpkg install curl:x86-windows curl:x86-windows-static curl:x64-windows curl:x64-windows-static
     C:\work.vcpkg>vcpkg install sqlite3:x86-windows sqlite3:x86-windows-static sqlite3:x64-windows sqlite3:x64-windows-static
     C:\work.vcpkg>vcpkg install jsoncpp:x86-windows jsoncpp:x86-windows-static jsoncpp:x64-windows jsoncpp:x64-windows-static
     C:\work.vcpkg>vcpkg install gtest:x86-windows gtest:x86-windows-static gtest:x64-windows gtest:x64-windows-static


'자료' 카테고리의 다른 글

[C++] Python format 구현  (0) 2017.12.03
[Ubuntu] upgrade시 용량부족으로 인한 문제 해결  (0) 2017.10.12
Windbg 명령어  (0) 2017.01.31
[펌] 동적 메모리 관리  (0) 2016.12.26
[Heap] how2heap (shellpish)  (0) 2016.12.25
블로그 이미지

KuroNeko_

KuroNeko

,