pry0cc / axiom

The dynamic infrastructure framework for everybody! Distribute the workload of many different scanning tools with ease, including nmap, ffuf, masscan, nuclei, meg and many more!
MIT License
4k stars 622 forks source link

Weird bug when creating a fleet #495

Closed stefan-stojanovic-s closed 2 years ago

stefan-stojanovic-s commented 2 years ago

Here are the logs, not sure what could be the problem here, given that it happens quite randomly. I have a script which adds new 5 instances to a fleet with sleep time in-between, up until a certain threshold is reached. When this error occurs, It gets into infinite recursion since it doesn't fulfil the threshold at all. If its of any value, I am using linode for this.

Initializing new fleet 'raven' with 5 instances...
INITIALIZING IN 5 SECONDS, CTRL+C to quit... 
/home/dev/.axiom/interact/axiom-fleet: line 156: 09: value too great for base (error token is "09")
/home/dev/.axiom/interact/axiom-fleet: line 234: [: -gt: unary operator expected
Selected: [ raven01 raven02 raven03 raven04 raven05 raven08 raven09 ] 
Fleet started succesfully!
To delete your fleet, just run axiom-rm "raven*" -f
Initializing new fleet 'raven' with 5 instances...
INITIALIZING IN 5 SECONDS, CTRL+C to quit... 
/home/dev/.axiom/interact/axiom-fleet: line 156: 09: value too great for base (error token is "09")
/home/dev/.axiom/interact/axiom-fleet: line 234: [: -gt: unary operator expected
Selected: [ raven01 raven02 raven03 raven04 raven05 raven08 raven09 ] 
Fleet started succesfully!
To delete your fleet, just run axiom-rm "raven*" -f
pdelteil commented 2 years ago

Hi,

Please add the relevant section of your script here to check it out.

On Sun, 5 Dec 2021, 14:49 Stefan Stojanović, @.***> wrote:

Here are the logs, not sure what could be the problem here, given that it happens quite randomly. I have a script which adds new 5 instances to a fleet with sleep time in-between, up until a certain threshold is reached. When this error occurs, It gets into infinite recursion since it doesn't fulfil the threshold at all. If its of any value, I am using linode for this.

Initializing new fleet 'raven' with 5 instances... INITIALIZING IN 5 SECONDS, CTRL+C to quit... /home/dev/.axiom/interact/axiom-fleet: line 156: 09: value too great for base (error token is "09") /home/dev/.axiom/interact/axiom-fleet: line 234: [: -gt: unary operator expected Selected: [ raven01 raven02 raven03 raven04 raven05 raven08 raven09 ] Fleet started succesfully! To delete your fleet, just run axiom-rm "raven*" -f

Initializing new fleet 'raven' with 5 instances... INITIALIZING IN 5 SECONDS, CTRL+C to quit... /home/dev/.axiom/interact/axiom-fleet: line 156: 09: value too great for base (error token is "09") /home/dev/.axiom/interact/axiom-fleet: line 234: [: -gt: unary operator expected Selected: [ raven01 raven02 raven03 raven04 raven05 raven08 raven09 ] Fleet started succesfully! To delete your fleet, just run axiom-rm "raven*" -f

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pry0cc/axiom/issues/495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2OS73Q6BQZCIGQQ5HYBLLUPO66JANCNFSM5JNEIMZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

0xtavian commented 2 years ago

@stefan-stojanovic-s please run cd ~/axiom/ && git pull to get the latest code. You might have to delete your changes and then readd them to the newest code. We'll also need whatever code you added so we can troubleshoot, as the issue seems to be in your alternations. Feel free to join us on discord.

0xtavian commented 2 years ago

closing as non-repeatable. feel free to reopen or comment with more info.