Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netaddr.core.AddrFormatError: not a recognised IP glob range: '*'! #176

Open
0xtavian opened this issue Apr 8, 2023 · 0 comments
Open

Comments

@0xtavian
Copy link
Contributor

0xtavian commented Apr 8, 2023

Just wanted to report this issue trying to echo the lines from jhaddix's all.txt list
Steps to reproduce:
Download jhaddix's all.txt

wget https://gist.githubusercontent.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/96f4e51d96b2203f19f6381c8c545b278eaa0837/all.txt
interlace -tL all.txt -c 'echo _target_'
interlace -tL all.txt -c 'echo _target_' --no-cidr
echo 'echo _target_' > command ; interlace -tL all.txt -cL command 

All of these return error

Traceback (most recent call last):
  File "/usr/local/bin/interlace", line 33, in <module>
    sys.exit(load_entry_point('Interlace==1.9.7', 'console_scripts', 'interlace')())
  File "/usr/local/lib/python3.10/site-packages/Interlace-1.9.7-py3.10.egg/Interlace/interlace.py", line 34, in main
  File "/usr/local/lib/python3.10/site-packages/Interlace-1.9.7-py3.10.egg/Interlace/lib/threader.py", line 112, in __init__
  File "/usr/local/lib/python3.10/site-packages/Interlace-1.9.7-py3.10.egg/Interlace/interlace.py", line 11, in task_queue_generator_func
  File "/usr/local/lib/python3.10/site-packages/Interlace-1.9.7-py3.10.egg/Interlace/lib/core/input.py", line 257, in process_data_for_tasks_iterator
  File "/usr/local/lib/python3.10/site-packages/Interlace-1.9.7-py3.10.egg/Interlace/lib/core/input.py", line 217, in _process_targets
  File "/usr/local/lib/python3.10/site-packages/Interlace-1.9.7-py3.10.egg/Interlace/lib/core/input.py", line 206, in parse_and_group_target_specs
  File "/usr/local/lib/python3.10/site-packages/netaddr-0.7.20-py3.10.egg/netaddr/ip/glob.py", line 110, in glob_to_iprange
    raise AddrFormatError('not a recognised IP glob range: %r!' % (ipglob,))
netaddr.core.AddrFormatError: not a recognised IP glob range: '*'!

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

No branches or pull requests

1 participant