Skip to content

Commit

Permalink
Fix the conversion error in pppoe_softc.
Browse files Browse the repository at this point in the history
  • Loading branch information
xfangfang committed May 8, 2024
1 parent 97d19cf commit b690449
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ class Exploit {
}

memcpy(&pppoe_softc, host_uniq, sizeof(pppoe_softc));
pppoe_softc = be64toh(pppoe_softc);
std::cout << "[+] pppoe_softc: 0x" << std::hex << pppoe_softc << std::endl;

auto *ethLayer = pkt.packet.getLayerOfType<pcpp::EthLayer>();
Expand Down

0 comments on commit b690449

Please sign in to comment.