Taco Tuesday~~~!!!

  • 전체 글
  • Intelligence
  • 아무거나

Network 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

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

최근글과 인기글

  • 최근글
  • 인기글

방문자수Total

  • Today :
  • Yesterday :

Copyright © ASVV. All rights reserved.

  • github

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.