Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Adding 2 patterns for key browsing #82

Open
Snoopyk750i opened this issue May 4, 2019 · 1 comment
Open

Adding 2 patterns for key browsing #82

Snoopyk750i opened this issue May 4, 2019 · 1 comment

Comments

@Snoopyk750i
Copy link

Hi all, Nod not taking updates for few days, and i have added to nod32keys.sh two new sites and its patterns. I am not programmer, so you need to optimize my werd cote if you want to add to this project.

First

 #by Snoopyk
 page_content="$(network_get_content 'https://t2bot.ru/en/esetkeys/')";
 [[ ! -z "$page_content" ]] && {
   keys_list+=$(sed -e 's/<[^>]*>//g' <<< "$page_content" |\
             awk -F: '/((TRIAL|EAV)-[0-9]+)|(Password: [a-z0-9]+)/ {print $0,$1,$2}' |\
             sed -e 's/ //g' |\
             tr -d "\r" |\
             sed -e 's/TRIAL/\n&/g; s/TRIAL.\{11\}/&:/g'|\
             sed -e 's/EAV/\n&/g; s/EAV.\{11\}/&:/g'|\
             sed -e 's/\(TRIAL.\{22\}\).*/\1/g' |\
             sed -e 's/\(EAV.\{22\}\).*/\1/g' |\
             awk '{getline b;printf("%s\n",$0,b)}');
  keys_list+=$'\n';
 };

Second

 page_content="$(network_get_content 'http://nod32premium.blogspot.com/')";
 [[ ! -z "$page_content" ]] && {
 keys_list+=$(

             sed -e 's/<[^>]*>//g' <<< "$page_content" |\
             awk -F: '/((TRIAL|EAV)-[0-9]+)|(Password:[a-z0-9]+)/ {c=2;while (c<=18) {a=c+1;print $c,":",$a;c+=4 }}' |\
             tr -d [:space:]  |\
             sed -e 's/LicenseKey/\n/g'|\
             sed -e 's/Password//g' |\
             awk '{printf("%s\n",$1)}'
             );
 };
  [[ ! -z "$keys_list" ]] && {
   echo "$keys_list" && return 0;
 };
@Push0k
Copy link

Push0k commented May 24, 2019

Есть возможность внести изменения через "docker-compose.yml" или может какую-то инструкцию как внести в докере эти изменения?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants