This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ../../tacacs-F4.0.4.28/authen.c 2014-07-31 14:09:47.000000000 -0600 | |
+++ ./authen.c 2018-05-08 11:17:09.056622318 -0600 | |
@@ -329,10 +329,22 @@ | |
return; | |
} | |
- if ((*func)(datap)) { | |
+#ifdef AFL | |
+ if ((session.afl_cfg) && | |
+ cfg_is_user_disabled(datap->NAS_id->username) == 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ../../tacacs-F4.0.4.28/authen.c 2014-07-31 14:09:47.000000000 -0600 | |
+++ ./authen.c 2018-05-02 13:12:24.316818539 -0600 | |
@@ -329,10 +329,22 @@ | |
return; | |
} | |
- if ((*func)(datap)) { | |
+#ifdef AFL | |
+ if ((session.afl_cfg) && | |
+ cfg_is_user_disabled(datap->NAS_id->username) == 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dual booting chromium with up to date flash. (Or 'buntu derivatives, I used xubuntu). I sincerely hope this saves somebody the grief I had to go through to get it right. | |
I used 3 usb keys. One for Ubuntu, one for gparted live, and one for chromium. This document assumes you've booted to chromium from usb to assure it works and assumes you know how to make bootable USB's. (or that you at least know how to use google). | |
Method A (Tested, works) | |
Get a gparted iso & boot from it - usb or cd. (google can help you with this). If you've borked the drive, rewrite the boot sector. (failed chromium installs for instance). Get a chromium ISO and write it to USB. (I used dd). Insert it & refresh gparted. Copy the State Partition (big one) to the first partition on the drive, make it bigger if you want. Grab the root-a partition (other big one) and make it the second. Create a swap partion 1024 - 2048 - megabyte-ish at the end of the drive. Make an ext4 partition with whatever is left in between. Reboot to t |