Airgeddon auto-update and dhcpd leases!

Discussion in 'Scripts & Commands' started by r1sen, 24 Sep 2018.

  1. r1sen

    r1sen Mod
    Staff Member Moderator Dev Team VIP

    Joined:
    22 Nov 2017
    Messages:
    356
    Likes Received:
    63
    One benefit of embedding scripts into the read/writable directory (/home/tc/*) in TinyPaw is the ability to apply updates without creating new squashfs extensions each time. However with auto-update enabled and airgeddon updates you will need to manually add the dhcpd.leases file location. Also, if you wish to disable auto-update you can do that as well.

    *The airgeddon script you need to adjust is located in your (/home/tc/.airgeddon/) directory and will be the airgeddon.sh file*


    First as you see in the screenshot below this is the new airgeddon 8.11 script

    Screenshot_TinyPaw_v1.2Z.1_2018-09-23_15:06:58.png
    As you see in the next screenshot there is the option "auto_update" that takes the argument of "1" or "0". If you wish to disable auto updating for the future change this argument to "0".

    Screenshot_TinyPaw_v1.2Z.1_2018-09-23_15:07:10.png
    Finally in this last screenshot you can see the area in the script declaring "possible_dhcp_leases_files" and after this line you will need to press return, tab over until you are above the already listed line items and enter the following:

    "/home/tc/.airgeddon/dhcpd.leases"

    As seen below:

    Screenshot_TinyPaw_v1.2Z.1_2018-09-23_15:07:33.png
    Now save the changes you've made to your airgeddon script by either "file+save" or "cntl+s". And now your script has been modified to use/read/write into the proper dchpd.leases file.
     
    #1 r1sen, 24 Sep 2018
    Last edited: 24 Sep 2018

Share This Page

Loading...