Skip to content

Instantly share code, notes, and snippets.

@cryptoniteio
Created July 3, 2014 15:17
Show Gist options
  • Select an option

  • Save cryptoniteio/03f02d13e72e829d2f96 to your computer and use it in GitHub Desktop.

Select an option

Save cryptoniteio/03f02d13e72e829d2f96 to your computer and use it in GitHub Desktop.

Revisions

  1. willfales revised this gist Jul 3, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions create_sourcelists.sh
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,7 @@
    echo "Please enter your new license key (It is case sensitive):"

    read new_key

    echo -n "Creating Source Lists"

    echo
  2. willfales revised this gist Jul 3, 2014. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions create_sourcelists.sh
    Original file line number Diff line number Diff line change
    @@ -5,8 +5,6 @@
    echo "Please enter your new license key (It is case sensitive):"

    read new_key


    echo -n "Creating Source Lists"

    echo
  3. willfales created this gist Jul 3, 2014.
    29 changes: 29 additions & 0 deletions create_sourcelists.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    #!/bin/bash



    echo "Please enter your new license key (It is case sensitive):"

    read new_key


    echo -n "Creating Source Lists"

    echo



    echo "deb http://data.alienvault.com/feed_etpro_$new_key/ binary/" > /etc/apt/sources.list.d/alienvault4-pro-etpro.list

    echo "deb http://data.alienvault.com/alienvault4/ binary/" > /etc/apt/sources.list.d/alienvault4-pro.list

    echo "deb http://data.alienvault.com/$new_key/ binary/" >> /etc/apt/sources.list.d/alienvault4-pro.list

    echo "deb http://data.alienvault.com/feed_$new_key/ binary/" >> /etc/apt/sources.list.d/alienvault4-pro.list


    echo

    echo "All Finished!"

    echo