Re: Converted my Go program to Rust

Liste des GroupesRevenir à cl misc 
Sujet : Re: Converted my Go program to Rust
De : rek2 (at) *nospam* hispagatos.org.invalid (rek2 hispagatos)
Groupes : comp.lang.misc alt.comp.lang.rust
Suivi-à : alt.comp.lang.rust
Date : 02. Aug 2024, 02:33:36
Autres entêtes
Organisation : Hispagatos
Message-ID : <v8hd1g$1fk30$1@matrix.hispagatos.org>
References : 1 2
User-Agent : slrn/pre1.0.4-9 (Linux)
On 2024-08-01, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Thu, 1 Aug 2024 22:14:53 -0000 (UTC), rek2 hispagatos wrote:
>
Last year I made a small Go program to automatize some of the first
steps I do when participating on HackTheBox, I decided to migrate it to
rust, this is the result, free software GPLv3
 
https://git.sr.ht/~rek2/rek2htb-rust
>
I assume you are munging the hosts file just so your web client will pass
the right “Host:” header line. There should be easier (i.e. less
intrusive) ways of doing that: for example, in wget you can add the option
“--header="Host: «hostname»"”, and there should be something similar in
whatever HTTP client you are using.

Actually I found a couple bugs that I fixed related to ffuf one of them
was missing flag to add the Host header -H "Host: FFUZ.{}.htb" as it was
before it was just passing the site -s other issue was the output,
also I have fixed it.

Thanks, I will had read your msg and found out as well even if I had not
noticed it before, so thank you for the reply, good to know someone is
reading.

Happy Hacking
ReK2

--
- {gemini,https}://{,rek2.}hispagatos.org - mastodon: @rek2@hispagatos.space
- [https|gemini]://2600.Madrid            - https://hispagatos.space/@rek2
- https://keyoxide.org/A31C7CE19D9C58084EA42BA26C0B0D11E9303EC5

Date Sujet#  Auteur
1 Aug 24 * Converted my Go program to Rust6rek2 hispagatos
2 Aug 24 `* Re: Converted my Go program to Rust5Lawrence D'Oliveiro
2 Aug 24  `* Re: Converted my Go program to Rust4rek2 hispagatos
4 Aug 24   `* Re: Converted my Go program to Rust3vallor
4 Aug 24    +- Re: Converted my Go program to Rust1rek2 hispagatos
4 Aug 24    `- Re: Converted my Go program to Rust1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal