ticarpi / jwt_tool

:snake: A toolkit for testing, tweaking and cracking JSON Web Tokens
GNU General Public License v3.0
5.46k stars 670 forks source link

jwtconf.ini wrong path #63

Open AhmedAhmedEG opened 2 years ago

AhmedAhmedEG commented 2 years ago

Windows 10 JWT_Tool 2.2.5

When jwt_tool.py run for the first time, it mentioned the creation of jwtconf.ini, but I couldn't find it in the jwt_tool.py directory (C:\Users\PC\Desktop\jwt_tool-2.2.5\jwt_tool-2.2.5), and still jwt_tool worked totally fine like it found that config file.

So I added a print statement for the path variable, and it printed this path (C:\Users\PC/.jwt_tool)

I not sure why it created it there and why the path separation character is inverted, but it seems like the function "os.path.join()" wasn't used to create paths, it handles the operating system pathing standards.