mirror of
https://github.com/edu4rdshl/fhc.git
synced 2026-07-17 23:24:50 +00:00
Bump version.
This commit is contained in:
parent
24683bde6d
commit
8d5be55d14
2 changed files with 19 additions and 15 deletions
17
builder.sh
17
builder.sh
|
|
@ -1,9 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
# Rusolver releaser
|
||||
NAME="fhc"
|
||||
|
||||
LINUX_TARGET="x86_64-unknown-linux-musl"
|
||||
WIN_TARGET="x86_64-pc-windows-gnu"
|
||||
RPI_TARGET="armv7-unknown-linux-gnueabihf"
|
||||
ARMV7_TARGET="armv7-unknown-linux-gnueabihf"
|
||||
AARCH_TARGET="aarch64-unknown-linux-gnu"
|
||||
OSX_TARGET="x86_64-apple-darwin"
|
||||
MANPAGE_DIR="./$NAME.1"
|
||||
|
|
@ -26,13 +27,13 @@ else
|
|||
echo "Windows artifact build: FAILED"
|
||||
fi
|
||||
|
||||
# RPi 2-3 build
|
||||
echo "Building RPi artifact."
|
||||
if cross build -q --release --target="$RPI_TARGET"; then
|
||||
echo "Windows artifact build: SUCCESS"
|
||||
cp "target/$RPI_TARGET/release/$NAME" "target/$RPI_TARGET/release/$NAME-rpi"
|
||||
# ARMV7 build
|
||||
echo "Building ARMv7 artifact."
|
||||
if cross build -q --release --target="$ARMV7_TARGET"; then
|
||||
echo "ARMv7 artifact build: SUCCESS"
|
||||
cp "target/$ARMV7_TARGET/release/$NAME" "target/$ARMV7_TARGET/release/$NAME-armv7"
|
||||
else
|
||||
echo "RPi artifact build: FAILED"
|
||||
echo "ARMv7 artifact build: FAILED"
|
||||
fi
|
||||
|
||||
# Aarch64 build
|
||||
|
|
@ -54,7 +55,7 @@ else
|
|||
fi
|
||||
|
||||
echo "Creating manpage..."
|
||||
if command -v help2man > /dev/null; then
|
||||
if command -v help2man >/dev/null; then
|
||||
if help2man -o "$MANPAGE_DIR" "target/$LINUX_TARGET/release/$NAME"; then
|
||||
echo "Manpage created sucessfully and saved in $MANPAGE_DIR"
|
||||
else
|
||||
|
|
|
|||
17
fhc.1
17
fhc.1
|
|
@ -1,9 +1,9 @@
|
|||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
||||
.TH FHC "1" "October 2020" "FHC 0.4.0" "User Commands"
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.3.
|
||||
.TH FHC "1" "May 2021" "FHC 0.5.0" "User Commands"
|
||||
.SH NAME
|
||||
FHC \- manual page for FHC 0.4.0
|
||||
FHC \- manual page for FHC 0.5.0
|
||||
.SH DESCRIPTION
|
||||
FHC 0.4.0
|
||||
FHC 0.5.0
|
||||
Eduard Tolosa <edu4rdshl@protonmail.com>
|
||||
Fast HTTP Checker.
|
||||
.SS "USAGE:"
|
||||
|
|
@ -36,14 +36,17 @@ Show status codes for discovered hosts.
|
|||
Prints version information
|
||||
.SS "OPTIONS:"
|
||||
.TP
|
||||
\fB\-d\fR, \fB\-\-domain\fR <domain>
|
||||
Target domain. When it's specified, a wordlist can be used from stdin for bruteforcing.
|
||||
.TP
|
||||
\fB\-r\fR, \fB\-\-retries\fR <retries>
|
||||
Max number of http probes per target.
|
||||
.TP
|
||||
\fB\-t\fR, \fB\-\-threads\fR <threads>
|
||||
Number of threads. Default: 100
|
||||
.TP
|
||||
\fB\-\-timeout\fR <timeout>
|
||||
Timeout in seconds. Default: 3
|
||||
.TP
|
||||
\fB\-u\fR, \fB\-\-user\-agent\fR <user\-agent>
|
||||
User agent string.
|
||||
.SH "SEE ALSO"
|
||||
The full documentation for
|
||||
.B FHC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue