Roni-Carta / cf-bypass

81 stars 16 forks source link

How can i solve this problem it's so annoying and i need to use this tool. #7

Open ghost opened 8 months ago

ghost commented 8 months ago

Hello, first of all sorry my english is so bad but i'll try to explain everything. I've been encountering this issue for a while which is when i use this command cf-bypass -f subs.txt it says: parse error: Invalid string: control characters from U+0000 through U+001F must be escaped at line 2, column 13

could you please help me? i already installed docker and 100% sure everything is okay + where can i get the securitytrails api and where do i have to paste it in? thanks and much love.

ItsIgnacioPortal commented 8 months ago

parse error: Invalid string: control characters from U+0000 through U+001F must be escaped at line 2, column 13

In that error U+0000 and U+001F are refering to UNICODE characters. U+0000 is a "null" character, and U+001F is a "Information Separator One" character. Both of them are zero-width characters, meaning that you won't be able to see them clearly on a most text editors. What I'd recommend to fix this is go to your file subs.txt and delete the contents of lines 12, 13, and 14, then write them again typing each character individually. Do not copy/paste any text.

where can i get the securitytrails api and where do i have to paste it in?

The Security Trails API key goes in the SECURITY_TRAILS_API_KEY environment variable. I believe you can get one by registering an account in their website. Cheers 👍