Change how our src is determined in packets, add hexdump to packet debug

This commit is contained in:
Deon George
2021-08-21 00:33:41 +10:00
parent 5243fabd63
commit 68a10af776
4 changed files with 64 additions and 48 deletions

View File

@@ -68,7 +68,8 @@ class HomeController extends Controller
return view('pkt')
->with('file',$file)
->with('result',$pkt);
->with('result',$pkt)
->with('hexdump',$file ? hex_dump(file_get_contents($file)) : '');
}
/**