axiom: IndexError: string index out of range (Interlace)

Interlace v1.9.8	by Michael Skelton (@codingo_)
                  	& Sajeeb Lohani (@sml555_)
=====================================================
Traceback (most recent call last):
  File "/usr/local/bin/interlace", line 11, in <module>
    load_entry_point('Interlace==1.9.8', 'console_scripts', 'interlace')()
  File "/usr/local/lib/python3.8/dist-packages/Interlace-1.9.8-py3.8.egg/Interlace/interlace.py", line 34, in main
  File "/usr/local/lib/python3.8/dist-packages/Interlace-1.9.8-py3.8.egg/Interlace/lib/threader.py", line 112, in __init__
  File "/usr/local/lib/python3.8/dist-packages/Interlace-1.9.8-py3.8.egg/Interlace/interlace.py", line 11, in task_queue_generator_func
  File "/usr/local/lib/python3.8/dist-packages/Interlace-1.9.8-py3.8.egg/Interlace/lib/core/input.py", line 265, in process_data_for_tasks_iterator
  File "/usr/local/lib/python3.8/dist-packages/Interlace-1.9.8-py3.8.egg/Interlace/lib/core/input.py", line 225, in _process_targets
  File "/usr/local/lib/python3.8/dist-packages/Interlace-1.9.8-py3.8.egg/Interlace/lib/core/input.py", line 212, in parse_and_group_target_specs
  File "/usr/local/lib/python3.8/dist-packages/netaddr-0.7.20-py3.8.egg/netaddr/ip/__init__.py", line 1357, in __init__
    self._start = IPAddress(start, flags=flags)
  File "/usr/local/lib/python3.8/dist-packages/netaddr-0.7.20-py3.8.egg/netaddr/ip/__init__.py", line 305, in __init__
    raise AddrFormatError('failed to detect a valid IP ' \
netaddr.core.AddrFormatError: failed to detect a valid IP address from '%20Washington%20DC%7C38.90123708527934%7C'
=====================================================
Interlace v1.9.8	by Michael Skelton (@codingo_)
                  	& Sajeeb Lohani (@sml555_)
=====================================================
Traceback (most recent call last):
  File "/usr/local/bin/interlace", line 11, in <module>
    load_entry_point('Interlace==1.9.8', 'console_scripts', 'interlace')()
  File "/usr/local/lib/python3.8/dist-packages/Interlace-1.9.8-py3.8.egg/Interlace/interlace.py", line 34, in main
  File "/usr/local/lib/python3.8/dist-packages/Interlace-1.9.8-py3.8.egg/Interlace/lib/threader.py", line 112, in __init__
  File "/usr/local/lib/python3.8/dist-packages/Interlace-1.9.8-py3.8.egg/Interlace/interlace.py", line 11, in task_queue_generator_func
  File "/usr/local/lib/python3.8/dist-packages/Interlace-1.9.8-py3.8.egg/Interlace/lib/core/input.py", line 265, in process_data_for_tasks_iterator
  File "/usr/local/lib/python3.8/dist-packages/Interlace-1.9.8-py3.8.egg/Interlace/lib/core/input.py", line 225, in _process_targets
  File "/usr/local/lib/python3.8/dist-packages/Interlace-1.9.8-py3.8.egg/Interlace/lib/core/input.py", line 203, in parse_and_group_target_specs
IndexError: string index out of range

Well I know the issue is with Interlace and not Axiom but I am opening the issue here as well so you can keep track of it. Here I used my custom axiom module that works okay if the input file have less data/urls but when the list is huge (here it was 13 MB file with 143190 urls) it breaks and the Interlace gives me this error IndexError: string index out of range

About this issue

  • Original URL
  • State: open
  • Created 9 months ago
  • Comments: 16 (10 by maintainers)

Most upvoted comments

@0xtavian As you said, I changed the ext from txt to dir and this worked for me:

[{
    "command": "cat input | rush -k -j 6 'domain=$(echo \"{}\" | unfurl domains) && x8 --timeout 10 --workers 20 -c 40 --verify --mimic-browser --remove-empty --output-format url --wordlist /home/op/x8/params.txt --url \"{}\" --append --output output/$domain'",
    "ext": "dir"
}]

The result is saved in different files in a directory but that’s totally fine. I really appreciate all your assistance. Our conversation went on for a while, but I’m so happy we got it to work 😃 Thanks a bunch for this awesome tool – it’s the heart of my workflow! ❤️