Datalux / Osintgram

Osintgram is a OSINT tool on Instagram. It offers an interactive shell to perform analysis on Instagram account of any users by its nickname
GNU General Public License v3.0
9.76k stars 2.16k forks source link

credentials.ini error #171

Closed balrajsandhu007 closed 3 years ago

balrajsandhu007 commented 3 years ago

Error: missing "username" field in "config/credentials.ini"
but i do not able to open credentials.ini

bhaskarvilles commented 3 years ago

Same problem can any one explain what was the error about

bhaskarvilles commented 3 years ago

Error: missing "username" field in "config/credentials.ini"
but i do not able to open credentials.ini

Have you found any solution ??

balrajsandhu007 commented 3 years ago

no bro

FancyWaifu commented 3 years ago

do sudo nano config/credentials.ini Then type ur info in

rhuhaan commented 3 years ago

@FancyWaifu Can you explain your words clearly ?

AbraxasMatrix commented 3 years ago

@rhuhaan I'm also getting the same error,nano is a text editor,so use it to edit credentials.ini and add your username. I'm gonna try it and see if it works

AbraxasMatrix commented 3 years ago

@bhaskarvilles Ok I got it to work, I went to the home folder,Osintgram folder,config folder and the. Clicked on the credentials.ini file. It opened with vim. To edit on vim you fist have to type the letter E as indicated, you be brought to the file which says username and password. Type in your info. Press ESC to leave edit mode, then type ":wq!" To save and override read only.

xoRiddler commented 3 years ago

@AbraxasMatrix Sorry for bothering you, i'm a dummy, once i open the .ini file with vim where do i type E?

AbraxasMatrix commented 3 years ago

@xoRiddler I saw this video and found it helpful because I had never used vim before lol just don't forget to save with :wq!

https://youtu.be/yPHONmX1tCg

stanislaspyw commented 3 years ago

@AbraxasMatrix Hi, i see that you used vim to edit the file. However when i opened the file using vim, all i see was a blank file. There isn't any password and username information for us to key in. Do you have the exact commands on what to key in? sorry i am a beginner at this

TekiTomo commented 3 years ago

do sudo nano config/credentials.ini Then type ur info in

thank youuuuuuu ilyyyy

ganesh1410449 commented 3 years ago

Error: missing "username" field in "config/credentials.ini" but i do not able to open credentials.ini

Have you found any solution ??

Yes I cleared that problem,run a command Make setup and type username and password that's it

BishalPoudel149 commented 3 years ago

hey man could u help, how to open that credential file , as i am using google console

@bhaskarvilles Ok I got it to work, I went to the home folder,Osintgram folder,config folder and the. Clicked on the credentials.ini file. It opened with vim. To edit on vim you fist have to type the letter E as indicated, you be brought to the file which says username and password. Type in your info. Press ESC to leave edit mode, then type ":wq!" To save and override read only.

TarunReddy9949 commented 3 years ago

@AbraxasMatrix Hi, i see that you used vim to edit the file. However when i opened the file using vim, all i see was a blank file. There isn't any password and username information for us to key in. Do you have the exact commands on what to key in? sorry i am a beginner at this

type "vim credentials.ini" and you enter the vim editer to enter the credentials just try it

TarunReddy9949 commented 3 years ago

hey man could u help, how to open that credential file , as i am using google console

@bhaskarvilles Ok I got it to work, I went to the home folder,Osintgram folder,config folder and the. Clicked on the credentials.ini file. It opened with vim. To edit on vim you fist have to type the letter E as indicated, you be brought to the file which says username and password. Type in your info. Press ESC to leave edit mode, then type ":wq!" To save and override read only.

type "vim credentials.ini" config and you can enter your credentials

bhaskarvilles commented 3 years ago

hey man could u help, how to open that credential file , as i am using google console

@bhaskarvilles Ok I got it to work, I went to the home folder,Osintgram folder,config folder and the. Clicked on the credentials.ini file. It opened with vim. To edit on vim you fist have to type the letter E as indicated, you be brought to the file which says username and password. Type in your info. Press ESC to leave edit mode, then type ":wq!" To save and override read only.

Yah I've already been solved my problem bruh
zaidbsousa commented 3 years ago

hey man, I get the missing "username" field in "config/credentials.ini" Error so I do sudo nano config/credentials.ini what should I type in it? cuz when I type my username and pass I get this error Error: File contains no section headers. file: 'config/credentials.ini', line: 1 'myusername that I typed = mypass that I typed\n' for example: 'zaid = 123456789\n' could u help me

manzar-123 commented 3 years ago

hey man, I get the missing "username" field in "config/credentials.ini" Error so I do sudo nano config/credentials.ini what should I type in it? cuz when I type my username and pass I get this error Error: File contains no section headers. file: 'config/credentials.ini', line: 1 'myusername that I typed = mypass that I typed\n' for example: 'zaid = 123456789\n' could u help me

Were you able to resolve this?? Same issue here

Yashhhh25 commented 2 years ago

do sudo nano config/credentials.ini Then type ur info in

This worked like a charm !! Thanks !

shetfeld commented 2 years ago

sudo nano config/credentials.ini

them how do you exit that screen or even save it?

Yashhhh25 commented 2 years ago

sudo nano config/credentials.ini

them how do you exit that screen or even save it?

After writing the commands you have to press ctrl+X it will ask you to save it, you should save it as Credentials.ini then you can just follow it along. It is very confusing I agree !

gausshukla commented 2 years ago

hey man, I get the missing "username" field in "config/credentials.ini" Error so I do sudo nano config/credentials.ini what should I type in it? cuz when I type my username and pass I get this error Error: File contains no section headers. file: 'config/credentials.ini', line: 1 'myusername that I typed = mypass that I typed\n' for example: 'zaid = 123456789\n' could u help me

Were you able to resolve this?? Same issue here

Same here

gausshukla commented 2 years ago

sudo nano config/credentials.ini

them how do you exit that screen or even save it?

After writing the commands you have to press ctrl+X it will ask you to save it, you should save it as Credentials.ini then you can just follow it along. It is very confusing I agree !

hey man, I get the missing "username" field in "config/credentials.ini" Error so I do sudo nano config/credentials.ini what should I type in it? cuz when I type my username and pass I get this error Error: File contains no section headers. file: 'config/credentials.ini', line: 1 'myusername that I typed = mypass that I typed\n' for example: 'zaid = 123456789\n' could u help me

Astrogeek12 commented 2 years ago

Error: File contains no section headers. file: 'config/credentials.ini', line: 1 yeah exactly same error...anyone help!

radeonxy commented 2 years ago

can someone please tell us how to type our infos in there? like username and password what should we type?

Mr-White-Devil commented 2 years ago

So i actually found what's the problem many people will be coming here seeing video from YouTube or any other sites and would have coded to make directory config if it existed many would have deleted it and made new one and you would have made something like echo "username and all same for password also but the the thing is you don't need to do that and it's what the problem starts after installing or cloning osintgran install python and requirements properly and the go to home - go to osintgram - go to config - you will see credentials.ini go there and fill your dummy insta username and password like Username = blah.blah Password = blah@blah Like this once you filled hit save and start your work on To run the osintgram you need to first Cd osintgram Then - code Python3 main.py "username" Username of the person you wanna stalk without quotation

Thankyou

kanhaiya41097 commented 11 months ago

Error: missing "username" field in "config/credentials.ini" but i do not able to open credentials.ini

Have you found any solution ??

Yes I cleared that problem,run a command Make setup and type username and password that's it

It works bro but now another problem appear (instagram_private_api.errors.ClientError: Not Found)

Sumanabhi675 commented 9 months ago

171

now it shows how can i fix this

Error: File contains no section headers. file: 'config/credentials.ini', line: 1
'username: username\n'