Skip to content

API design proposal

pierce403 edited this page Sep 13, 2010 · 11 revisions

Basic Functions

  • int routing(int status) // become a router
  • int hijack_dhcp(int status) // respond to dhcp as if you were the gateway
  • int hijack_arp(int status) // using arp, tell all hosts to route to you
  • int hijack_dns(int status) // redirect all DNS requests to your IP
  • arp_target_list add_arp_redirect(char* target_mac) // tell a specific target to route to your IP
  • dns_target_list add_dns_redirect(char* target_ip) // tamper with DNS traffic from target host

maybe add functions for listing and removing redirects as well?

Recon Callbacks

  • host_observed()

Reporting Callbacks

  • dhcp_inject()
  • arp_inject()
  • dns_inject()
Clone this wiki locally