-
Notifications
You must be signed in to change notification settings - Fork 114
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
The script is loading #34
Comments
Thank you for your first issue to whatsapp-osint! I really appreciate your interest and hope you enjoy the repository. |
Hey @rfalcon-cnmc , could you show me what happens in the graphical interface when you launch the program? Or is it stuck permanently on Loading....? A visual GUI interface should appear for you and whatsapp-osint should be redirecting you to scan the QR code automatically |
what-osin.webm |
Hey @rfalcon-cnmc , so I have modified the code to add some debug logging when there is the permanently stuck loading error (now you will get a more detailed exception). I think that the issue is that it's not detecting the following XPATH element in the web app: //div[@data-testid="wa-web-loading-screen"] which is the loading screen for whatsapp. For some reason it's loading extremely fast for you and you don't get a loading screen as usual. Can you try again with the new version, and print this error here? If we can't fix it like this, I will add the possibility to skip the loading step by pressing a key like F1. |
@jasperan It is throwing me this error:
|
Hey can you try with the new code? You should skip the loading screen by pressing F1 |
First I added "keyboard" requirements.txt
|
The keyboard library requires root permissions on the user you're trying to execute, the script is not failing now but getting stuck on the new skip line feature with F1. Can you try to run the program with administrative privileges? |
First of all, thank you for your work. I'm very interested in this tool. Unfortunately, I'm having trouble using it. I've added the ‘keyboard’ library, which isn't in the requirements.txt. Then I ran the script command with and without privileges. Here are the results: Without privileges :
With privileges :
I ran this program on a virtual machine (Archlinux) on Virtualbox. Here are the versions of the programs requested:
|
Hey @zubi33 , this is a known issue (the second one) which happens when you run chromedriver as root. The intended use is for you to run without privileges, and trying to fix the first issue. On line 175, in whatsappbeacon.py, there is a if statement. You can try to delete that statement and the command inside it: if keyboard.is_pressed('F1'): Delete these lines, and remove the keyboard import, I think it's the only time it's being used. On Windows, it would work for you, but Linux and the keyboard module aren't good friends. :) |
On Linux, after removing the block from the if statement and removing keyboard from the import, it seems to run in an infinite loop :
Under Windows, this also seems to be a loop:
Did WhatsApp change some of the headings in the code so that the software could no longer find them? |
@zubi33 , keep the "break" statement but remove the if. It should look like:
|
@jasperan, it would appear that even with the addition of break, the programme will not work. It cannot find the selected contact. Perhaps it's a language problem because i use french ?
|
Hmmm @zubi33 , French language should be supported. Have you put the name exactly as it is found (byte by byte) as the target? If you think it's a language issue you can also try with English by changing the language of your WhatsApp |
@jasperan Unfortunately, I couldn't get the script to work. I tried with a simple name ‘Florine’. I also tried changing the language to English, but I got the following result:
|
This is a weird issue, I am quite busy right now with work but I have put this in my watchlist to debug what's happening - I have tested myself and for me it's working - I'll be able to have a look in a couple of weeks |
I have the same error, it says it can't find the contact |
@jasperan Why using name instead of using phone numbers to identify targets, I don't get your choice here... Because for example I have some contacts that have 2 or 3 numbers under one name, so how will it manage these cases? will your script bug on those targets? |
@BurnsteinKarl because even if the phone number is unique and the name isn't, nobody has duplicate names for contacts in their contacts list (it's confusing) Also, it's searching for HTML elements in the chat interface, if you have a person added as a contact, it won't display their phone number in their name. But, if you have someone in your recents without a contact saved, you can input the phone number as their "name" and it will still work |
Thank you for your reply and clarification about your choice here, @jasperan . Your explanation about the uniqueness of the phone number and the name in the contacts list makes sense. Also, your point about searching for HTML elements in the chat interface is well taken. I appreciate your insights |
No worries @BurnsteinKarl happy to 👍🏻 |
Hi,
My chrome
My Chromedriver
What could be a problem?
The text was updated successfully, but these errors were encountered: