You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/Hackerwasi/Hackerwasi.py", line 195, in <module>
searchNumber(settings.codemonpays)
File "/home/d3sp1r4t/Oh no, my osint collection/Hackerwasi/core/searchNumber.py", line 64, in searchNumber
phone.search(num)
File "/home/d3sp1r4t/Oh no, my osint collection/Hackerwasi/core/searchInfoNumero.py", line 36, in search
operator = p[2]
~^^^
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
It looks like you're experiencing an IndexError when trying to access the third element of a list (p[2]) that doesn't exist.
To troubleshoot this issue, I'd recommend adding some error handling and logging to understand what's going on. Here's an updated version of the search method in searchInfoNumero.py:
defsearch(self, num):
try:
# ... (rest of the code remains the same)p= [...] # assuming p is a listiflen(p) <3:
print(f"Error: list 'p' has only {len(p)} elements, expected at least 3")
returnNoneoperator=p[2]
# ... (rest of the code remains the same)exceptIndexErrorase:
print(f"Error: {e}")
returnNone
As i type number, it crashes with:
The text was updated successfully, but these errors were encountered: