All pastes #438699 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-13 20:11 UTC
rendered paste body
update_nessus_plugins(){
    check_internet_con
    $aux_rep=$
    if [ $aux_rep = "0" ]; then
        dialog_message "$MSG_ERR_NO_INET_TI" "$MSG_ERR_NO_INET"
        MenuMain
    else
        check_package_installed nessus-plugins
        check_package_installed ossim-utils
        dialog_message "$MSG_NE_UP_TI" "$MSG_NE_UP"
        nessus-update-plugins
        if [ $aux_rep != "0" ]; then
            dialog_message "$MSG_ERR_UP_NE_TI" "$MSG_ERR_UP_NE"
            MenuMain
        fi
        /etc/init.d/nessusd restart
        perl /usr/share/ossim/scripts/update_nessus_ids.pl
        dialog_message "$MSG_NE_SU_UP_TI" "$MSG_NE_SU_UP"
        MenuMain
    fi
}