Deutsch English Français Italiano |
<v8hd1g$1fk30$1@matrix.hispagatos.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.hispagatos.org!.POSTED!not-for-mail From: rek2 hispagatos <rek2@hispagatos.org.invalid> Newsgroups: comp.lang.misc,alt.comp.lang.rust Subject: Re: Converted my Go program to Rust Followup-To: alt.comp.lang.rust Date: Fri, 2 Aug 2024 01:33:36 -0000 (UTC) Organization: Hispagatos Message-ID: <v8hd1g$1fk30$1@matrix.hispagatos.org> References: <v8h1ct$1fe39$1@matrix.hispagatos.org> <v8h4gn$2e5g0$3@dont-email.me> Reply-To: ReK2 <rek2@hispagatos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 2 Aug 2024 01:33:36 -0000 (UTC) Injection-Info: matrix.hispagatos.org; logging-data="1560672"; mail-complaints-to="abuse@hispagatos.org" User-Agent: slrn/pre1.0.4-9 (Linux) Bytes: 2279 Lines: 30 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