Interlace icon indicating copy to clipboard operation
Interlace copied to clipboard

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

Open 0xtavian opened this issue 2 years ago • 1 comments

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: '*'!

0xtavian avatar Apr 08 '23 04:04 0xtavian