Skip to content
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

Using a multiline keywords file breaks the output #16

Open
ItsIgnacioPortal opened this issue May 19, 2022 · 1 comment
Open

Using a multiline keywords file breaks the output #16

ItsIgnacioPortal opened this issue May 19, 2022 · 1 comment

Comments

@ItsIgnacioPortal
Copy link
Contributor

When keywords.txt has a single word as its content:

code
C:\Users\REDACTED\Desktop>main.exe -k C:\Users\REDACTED\Documents\GitHub\urlhunter\keywords.txt -d 2022-01-01:2022-01-04 -o test.txt -a C:\Users\REDACTED\Documents\GitHub\urlhunter\archives

        o         Utku Sen's
         \_/\o
        ( Oo)                    \|/
        (_=-)  .===O-  ~~U~R~L~~ -O-
        /   \_/U'        hunter  /|\
        ||  |_/
        \\  |    utkusen.com
        {K ||   twitter.com/utkusen


Search starting for: 2022-01-01
[+]: Couldn't find an archive with that date.
Search starting for: 2022-01-02
[+]: urlteam_2022-01-02-11-17-02 already exists locally. Skipping download..
[+]: Searching: "code" in C:\Users\REDACTED\Documents\GitHub\urlhunter\archives\urlteam_2022-01-02-11-17-02\goo-gl\______.txt
^C

When keywords.txt has multiple lines as its content:

code
auth
token
C:\Users\REDACTED\Desktop>main.exe -k C:\Users\REDACTED\Documents\GitHub\urlhunter\keywords.txt -d 2022-01-01:2022-01-04 -o test.txt -a C:\Users\REDACTED\Documents\GitHub\urlhunter\archives

        o         Utku Sen's
         \_/\o
        ( Oo)                    \|/
        (_=-)  .===O-  ~~U~R~L~~ -O-
        /   \_/U'        hunter  /|\
        ||  |_/
        \\  |    utkusen.com
        {K ||   twitter.com/utkusen


Search starting for: 2022-01-01
[+]: Couldn't find an archive with that date.
Search starting for: 2022-01-02
[+]: urlteam_2022-01-02-11-17-02 already exists locally. Skipping download..
" in C:\Users\REDACTED\Documents\GitHub\urlhunter\archives\urlteam_2022-01-02-11-17-02\goo-gl\______.txt
^C
@Margular
Copy link

Margular commented Dec 4, 2022

you need to change the newline char from CRLF to LF (that is to say windows format to linux format), so many tools could achieve this, such as VSCode, or linux command dos2unix <filepath>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants