Taco Tuesday~~~!!!

  • 전체 글
  • Intelligence
  • 아무거나

프로그래밍/네트워크 2

[libtins] Basics을 공부하면서

libtins 를 사용하면 PDU라는 class를 볼 수 있는 데 처음에 이해 안 되는 것도 예제로 보니 이해가 되는 것 같다. #include using namespace Tins; int main() { EthernetII eth; IP *ip = new IP(); TCP *tcp = new TCP(); // tcp is ip's inner pdu ip->inner_pdu(tcp); // ip is eth's inner pdu eth.inner_pdu(ip); } EthernetII | IP | TCP 이 구조가 완성되는 느낌인 것 같다... 다음으로 Address Class를 소개한다.Address Class에는 IPv4Address, IPv6Address, HWAddress 등이 있다. 마지막으로..

프로그래밍/네트워크 2017.01.12

[libtins] libtins 라이브러리에 대해...

BoB 에서 교육을 받으면서 gilgil 멘토님에 소개로 알게된 라이브러리이다. 라이브러리http://libtins.github.io/ githubhttps://github.com/mfontanini/libtins 설치 방법은 github에 README.md에 상세하게 나와있다. 예제 소스 #include #include using namespace Tins; bool callback(const PDU &pdu) { const IP &ip = pdu.rfind_pdu(); // Find the IP layer const TCP &tcp = pdu.rfind_pdu(); // Find the TCP layer std::cout

프로그래밍/네트워크 2017.01.12
이전
1
다음
더보기
프로필사진

  • 분류 전체보기 (23)
    • Digital Forensic (7)
      • Cheat Sheet (4)
      • Threat Intelligence (1)
    • 프로그래밍 (7)
      • 웹 (2)
      • 네트워크 (2)
      • Vue.js (1)
      • Python (1)
      • Go (1)
    • wargame (4)
      • root-me.org (3)
      • XCZ (1)
    • TIL (5)
      • General (4)
      • Linux (1)

Tag

ligthsail, CPP, mixed-content, digital_forensic, SSTI, libtins, HTTP Toolkit, Wargame, Network, 피싱페이지, Digital Forensic, linux, blind ssti, amcache, Hluda, python, DFIR, morphing meerkat, pyminizip, go1.10,

최근글과 인기글

  • 최근글
  • 인기글

방문자수Total

  • Today :
  • Yesterday :

Copyright © ASVV. All rights reserved.

  • github

티스토리툴바