Closed a6thmfsin closed 3 years ago
Fixed it with running the make file to populate the config files idk why it didnt work otherwise. Facing some errors with the api still when i enter the gui
greyhound@LSD:~/Desktop/Osintgram$ python3 main.py null
Attempt to login...
ClientError URLError
Attempt to login...
Logged as null. Target: null [366178265] [NOT FOLLOWING]
____ .
_ \ ___|| _/ | ____ ____
/ | \ / _/ |/ \ _\/ _ _ \ / \
/ | \ | | | \ | / // > | \// | Y Y \
____ /__ >|_| /_| \ /|| (__ /|_| /
\/ \/ \/ /___/ \/ \/
Version 1.1 - Developed by Giuseppe Criscione
Type 'list' to show all allowed commands
Type 'FILE=y' to save results to files like '
Type 'FILE=n' to disable saving to files'
Type 'JSON=y' to export results to a JSON files like '
Type 'JSON=n' to disable exporting to files'
Run a command: JSON=y
Export to JSON: enabled
list
FILE=y/n Enable/disable output in a '
File "/usr/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.9/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 950, in send
self.connect()
File "/usr/lib/python3.9/http/client.py", line 1417, in connect
super().connect()
File "/usr/lib/python3.9/http/client.py", line 921, in connect
self.sock = self._create_connection(
File "/usr/lib/python3.9/socket.py", line 843, in create_connection
raise err
File "/usr/lib/python3.9/socket.py", line 831, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/greyhound/.local/lib/python3.9/site-packages/instagram_private_api/client.py", line 523, in _call_api
response = self.opener.open(req, timeout=self.timeout)
File "/usr/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/usr/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/greyhound/Desktop/Osintgram/main.py", line 186, in
Fixed it with running the make file to populate the config files idk why it didnt work otherwise. Facing some errors with the api still when i enter the gui
and how do you do this may i ask?
Hi there, this problem is caused by the settings.json
file having another users data inside it, so it is an easy fix. All you have to do is delete the contents in the file /config/settings.json
.
settings.json
{...}
And replace it with:
{}
Hi there, this problem is caused by the
settings.json
file having another users data inside it, so it is an easy fix. All you have to do is delete the contents in the file/config/settings.json
.
settings.json
{...}
And replace it with:
{}
✔️ the solution
Hi there, this problem is caused by the
settings.json
file having another users data inside it, so it is an easy fix. All you have to do is delete the contents in the file/config/settings.json
.
settings.json
{...}
And replace it with:
{}
cd Osintgram cd config nano settings.json
....
Done
ctrl x y enter
Thanks :)
Even leaving the settings.json {} of the error code: 400 ClientError checkpoint_challenge_required (Code: 400, Response: {"message": "challenge_required", "challenge": {"url": "https://i.instagram.com/challenge...
Please follow this link to complete the challenge: https://i.instagram.com/challenge/...
Attempt to login...
Traceback (most recent call last):
File "/home/username/Osintgram/main.py", line 121, in
ANY HELP IS APPRECIATED IM LEARNING KALI AND CANT SEEM TO GET PAST THIS
Attempt to login... Traceback (most recent call last): File "/home/username/Osintgram/main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) File "/home/username/Osintgram/src/Osintgram.py", line 47, in init self.login(u, p) File "/home/username/Osintgram/src/Osintgram.py", line 1114, in login self.api = AppClient( File "/usr/local/lib/python3.10/dist-packages/instagram_private_api/client.py", line 208, in init self.login() File "/usr/local/lib/python3.10/dist-packages/instagram_private_api/endpoints/accounts.py", line 64, in login on_login_callback(self) File "/home/username/Osintgram/src/Osintgram.py", line 1117, in on_login=lambda x: self.onlogin_callback(x, settings_file)) File "/home/username/Osintgram/src/Osintgram.py", line 1151, in onlogin_callback with open(new_settings_file, 'w') as outfile: PermissionError: [Errno 13] Permission denied: 'config/settings.json'
ANY HELP IS APPRECIATED IM LEARNING KALI AND CANT SEEM TO GET PAST THIS
Try this go to directory Osintgram/config after that enter the command "nano settings.json" and then delete all the text in the file and leave only {}. After u done save it, ctrl+x, y, press enter. I hope it can fix your problem sorry for my bad English..
Here's what I get with what you told me to put Your English is fine
Here's what I get with what you told me to put Your English is fine
are you already running the command "pip install -r requirements.txt" ?
and you run this tool with python2 or python3?
have you entered your Instagram name and password in the credentials.ini directory?
Finally got it I redownloaded the Command for pip install r requirements
You dropped this 👑
Finally got it I redownloaded the Command for pip install r requirements
You dropped this 👑
hehe unwelcome bro
A new probleme come I cant solve can any one help
A new probleme come I cant solve can any one help
Use this command:
Cd Osintgram ls Cd config ls echo "{}" > settings.json
Back to the directory Osintgram and run it
python3 main.py target username
If it does not work. Make another dump account
Even leaving the settings.json {} of the error code: 400 ClientError checkpoint_challenge_required (Code: 400, Response: {"message": "challenge_required", "challenge": {"url": "https://i.instagram.com/challenge...
Please follow this link to complete the challenge: https://i.instagram.com/challenge/...
look out i.instagram is scam you can over look it
I don't know what you're watching. I've been trying to solve this for 12 hours and nothing is working ;-;
HELP!!!
Error parsing error response: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/instagram_private_api/client.py", line 523, in _call_api response = self.opener.open(req, timeout=self.timeout) File "/usr/lib/python3.10/urllib/request.py", line 525, in open response = meth(req, response) File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response response = self.parent.error( File "/usr/lib/python3.10/urllib/request.py", line 563, in error return self._call_chain(args) File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(args) File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/Osintgram/main.py", line 121, in
I don't know what you're watching. I've been trying to solve this for 12 hours and nothing is working ;-;
HELP!!!
Error parsing error response: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/instagram_private_api/client.py", line 523, in _call_api response = self.opener.open(req, timeout=self.timeout) File "/usr/lib/python3.10/urllib/request.py", line 525, in open response = meth(req, response) File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response response = self.parent.error( File "/usr/lib/python3.10/urllib/request.py", line 563, in error return self._call_chain(args) File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(args) File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/Osintgram/main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) File "/home/Osintgram/src/Osintgram.py", line 48, in init self.setTarget(target) File "/home/Osintgram/src/Osintgram.py", line 61, in setTarget self.following = self.check_following() File "/home/Osintgram/src/Osintgram.py", line 1159, in check_following return self.api._call_api(endpoint)['user_detail']['user']['friendship_status']['following'] File "/usr/local/lib/python3.10/dist-packages/instagram_private_api/client.py", line 527, in _call_api ErrorHandler.process(e, error_response) File "/usr/local/lib/python3.10/dist-packages/instagram_private_api/errors.py", line 135, in process raise ClientError(error_msg, http_error.code, error_response) instagram_private_api.errors.ClientError: Not Found
Ayo i never see problem like this before 😐 i dont know how to fix this sorry but maybe you can run apt-get update then try run this tool again. Dont forget to run pip install -r requirements.txt or python3 -m pip install requirements.txt
it doenst work regardless brother stop watching that vid from networkchuck before you get scammed by i.instagram
got the same issue and i tried everything
Did you find something
doesn't work :c
i did this echo "{}" > settings.json i go back with cd .. then o pit python3 main.py target doesnt work :C
I don't know what you're watching. I've been trying to solve this for 12 hours and nothing is working ;-;
HELP!!!
Error parsing error response: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/instagram_private_api/client.py", line 523, in _call_api response = self.opener.open(req, timeout=self.timeout) File "/usr/lib/python3.10/urllib/request.py", line 525, in open response = meth(req, response) File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response response = self.parent.error( File "/usr/lib/python3.10/urllib/request.py", line 563, in error return self._call_chain(args) File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(args) File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/Osintgram/main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) File "/home/Osintgram/src/Osintgram.py", line 48, in init self.setTarget(target) File "/home/Osintgram/src/Osintgram.py", line 61, in setTarget self.following = self.check_following() File "/home/Osintgram/src/Osintgram.py", line 1159, in check_following return self.api._call_api(endpoint)['user_detail']['user']['friendship_status']['following'] File "/usr/local/lib/python3.10/dist-packages/instagram_private_api/client.py", line 527, in _call_api ErrorHandler.process(e, error_response) File "/usr/local/lib/python3.10/dist-packages/instagram_private_api/errors.py", line 135, in process raise ClientError(error_msg, http_error.code, error_response) instagram_private_api.errors.ClientError: Not Found
Your username and password needs to be in " " in the cedentials.ini file
pleasee help!!
how should i fix this issue?
Looks like a network connection problem, see if your wifi is working properly
On Thu, Apr 27, 2023 at 11:53 AM Sharvin Pharande @.***> wrote:
pleasee help!!
how should i fix this issue? [image: image] https://user-images.githubusercontent.com/52949072/234776848-f22845b8-dcfc-4581-ad2b-b3b5903072e2.png
— Reply to this email directly, view it on GitHub https://github.com/Datalux/Osintgram/issues/286#issuecomment-1524828615, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQRETTD6YDXFRAIYYZ3UWQ3XDIGEVANCNFSM5B4OJD4Q . You are receiving this because you commented.Message ID: @.***>
Network problems
Attempt to login... Error parsing error response: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "/Users/anusmacair/Documents/Tools/Osintgram/venv/lib/python3.10/site-packages/instagram_private_api/client.py", line 523, in _call_api response = self.opener.open(req, timeout=self.timeout) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 525, in open response = meth(req, response) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 634, in http_response response = self.parent.error( File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 563, in error return self._call_chain(args) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(args) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/anusmacair/Documents/Tools/Osintgram/main.py", line 121, in
Error Unauthorized: Please wait a few minutes before you try again. (Code: 401, Response: {"message":"Please wait a few minutes before you try again.","require_login":true,"status":"fail"})Please wait a few minutes before you try again.: Unauthorized: Please wait a few minutes before you try again}
help please
I'm getting the following error, tried all the suggestions above:
`Attempt to login... Error parsing error response: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "/home/kali/.local/lib/python3.11/site-packages/instagram_private_api/client.py", line 523, in _call_api response = self.opener.open(req, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 525, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 634, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 563, in error return self._call_chain(args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain result = func(args) ^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kali/Osintgram/main.py", line 121, in
It works if I set the target as my own account(the same one used to log in), the error happens only when targeting others accounts. I'm targeting open accounts and I am following them.
Any suggestions?
Again, you have messed up in the username and password section, it should be in a JSON format, in double quotes if i remember correctly
how should the credentials be saved. with or without spaces?
(example: username = "username" or username = " username "
if the username you are trying to use has spaces in it, then use space otherwise don't, altho instagram usernames do not support spaces so it would be "username"
if the username you are trying to use has spaces in it, then use space otherwise don't, altho instagram usernames do not support spaces so it would be "username"
thx bro
how should the credentials be saved. with or without spaces?
(example: username = "username" or username = " username "
[Credentials] username = yourusername password= yourpassword
Or you can easily add your username and password when you in Osintgram directory by running "make setup"
Attempt to login... Error parsing error response: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "/usr/local/lib/python3.11/dist-packages/instagram_private_api/client.py", line 523, in _call_api response = self.opener.open(req, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 525, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 634, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 563, in error return self._call_chain(args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain result = func(args) ^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kali/Desktop/Osintgram/main.py", line 121, in
A porcaria do instagram mudou a API.... O retorno da chamada de API específico que, o Instagram o descontinuou, fazendo com que o programa não funcionasse totalmente.
O que você realmente precisa fazer é:
1 - vai até o diretorio: a src 2 - procure o arquivo Osintgram.py 3 - na linha onde está escrito self.following = self.check_following() na função setTarget(self, target) 4 - comente essa linha, assim: #self.following = self.check_following(). 5 - Prontinho sejam felizes.... Isso deve funcionar.
{}
ï deleted all the text in the json file and typed in {} but when i press ctrl x, Y, and entre and i go back in the file the text is back again and the error is still there can u pleas help me!!! Thanks!!!!
ClientCookieExpiredError/ClientLoginRequiredError: Cookie expired at 1628592384 Traceback (most recent call last): File "/home/greyhound/Desktop/Osintgram/src/Osintgram.py", line 1114, in login self.api = AppClient( File "/home/greyhound/Desktop/Osintgram/venv/lib/python3.9/site-packages/instagram_private_api/client.py", line 165, in init raise ClientCookieExpiredError('Cookie expired at {0!s}'.format(cookie_jar.auth_expires)) instagram_private_api.errors.ClientCookieExpiredError: Cookie expired at 1628592384
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3.9/urllib/request.py", line 1346, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "/usr/lib/python3.9/http/client.py", line 1255, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output self.send(msg) File "/usr/lib/python3.9/http/client.py", line 950, in send self.connect() File "/usr/lib/python3.9/http/client.py", line 1417, in connect super().connect() File "/usr/lib/python3.9/http/client.py", line 921, in connect self.sock = self._create_connection( File "/usr/lib/python3.9/socket.py", line 843, in create_connection raise err File "/usr/lib/python3.9/socket.py", line 831, in create_connection sock.connect(sa) socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/greyhound/Desktop/Osintgram/venv/lib/python3.9/site-packages/instagram_private_api/client.py", line 523, in _call_api response = self.opener.open(req, timeout=self.timeout) File "/usr/lib/python3.9/urllib/request.py", line 517, in open response = self._open(req, data) File "/usr/lib/python3.9/urllib/request.py", line 534, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain result = func(*args) File "/usr/lib/python3.9/urllib/request.py", line 1389, in https_open return self.do_open(http.client.HTTPSConnection, req, File "/usr/lib/python3.9/urllib/request.py", line 1349, in do_open raise URLError(err) urllib.error.URLError:
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/greyhound/Desktop/Osintgram/main.py", line 121, in
api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies)
File "/home/greyhound/Desktop/Osintgram/src/Osintgram.py", line 47, in init
self.login(u, p)
File "/home/greyhound/Desktop/Osintgram/src/Osintgram.py", line 1124, in login
self.api = AppClient(auto_patch=True, authenticate=True, username=u, password=p,
File "/home/greyhound/Desktop/Osintgram/venv/lib/python3.9/site-packages/instagram_private_api/client.py", line 208, in init
self.login()
File "/home/greyhound/Desktop/Osintgram/venv/lib/python3.9/site-packages/instagram_private_api/endpoints/accounts.py", line 27, in login
prelogin_params = self._call_api(
File "/home/greyhound/Desktop/Osintgram/venv/lib/python3.9/site-packages/instagram_private_api/client.py", line 533, in _call_api
raise ClientConnectionError('{} {}'.format(
instagram_private_api.errors.ClientConnectionError: URLError