Exploit databaseDownload repository ZIP
GH-c695a926925a64f81fa7932b203e8f1c
kkirsche/cve-2018-1111
Sources for CVE-2018-1111
7 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files6
kkirsche/cve-2018-1111Revision e889762d796a
- README.md
- constants.rb
- main.py
- rhel_dhcp_client_command_injection.rb
- screen-shot-2018-05-18-at-09.29.56.png
- server.rb
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
constants.rb
Ruby · 506 bytes# -*- coding: binary -*-
require 'rex/proto/dhcp'
module Rex
module Proto
module DHCP
Request = 1
Response = 2
DHCPDiscover = 1
DHCPOffer = 2
DHCPRequest = 3
DHCPAck = 5
DHCPMagic = "\x63\x82\x53\x63"
OpDHCPServer = 0x36
OpLeaseTime = 0x33
OpSubnetMask = 1
OpRouter = 3
OpDomainName = 15
OpDns = 6
OpHostname = 0x0c
OpURL = 0x72
OpProxyAutodiscovery = 0xfc
OpEnd = 0xff
PXEMagic = "\xF1\x00\x74\x7E"
OpPXEMagic = 0xD0
OpPXEConfigFile = 0xD1
OpPXEPathPrefix = 0xD2
OpPXERebootTime = 0xD3
end
end
end