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

v1.2.0 Release #532

Merged
merged 35 commits into from
Mar 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
ec979b4
dev update
ehsandeep Jan 10, 2022
0fe493f
ratelimit per min support
LuitelSamikshya Jan 11, 2022
5d29e37
Merge pull request #490 from projectdiscovery/rate-limit-minute-flag
ehsandeep Jan 13, 2022
6c6d3e3
Expose cdnname in output and json
Ice3man543 Jan 15, 2022
2abd058
Added stats-interval for changing stats display frequency
Ice3man543 Jan 15, 2022
9b9a95a
Enable show-statistics if an interval is passed for stats
Ice3man543 Jan 16, 2022
dc7a6bf
chore(deps): bump github.com/projectdiscovery/wappalyzergo
dependabot[bot] Jan 17, 2022
8b67220
Merge pull request #501 from projectdiscovery/dependabot/go_modules/d…
ehsandeep Jan 17, 2022
f7ca15b
Merge pull request #500 from projectdiscovery/stats-interval
ehsandeep Jan 18, 2022
b160f75
stat flag timer
LuitelSamikshya Jan 20, 2022
58ef963
Merge pull request #504 from projectdiscovery/stat-flag-timer
ehsandeep Jan 20, 2022
80ba8b5
Update options.go
geeknik Jan 27, 2022
24c20f2
Merge pull request #507 from geeknik/patch-3
Mzack9999 Jan 27, 2022
9ee34f4
chore(deps): bump github.com/projectdiscovery/wappalyzergo
dependabot[bot] Jan 31, 2022
eb37875
Adding support for euc-kr charset
Mzack9999 Feb 2, 2022
484e8ee
Merge pull request #509 from projectdiscovery/dependabot/go_modules/d…
Mzack9999 Feb 2, 2022
bb5de05
Merge pull request #510 from projectdiscovery/issue-441-utf8
ehsandeep Feb 7, 2022
e88fd95
go mod update
ehsandeep Feb 7, 2022
d94b8ca
go mod update
ehsandeep Feb 7, 2022
09b278b
Merge pull request #499 from projectdiscovery/cdn-name-expose
ehsandeep Feb 7, 2022
5a56210
Updating GH workflows + Sonar (#514)
Mzack9999 Feb 9, 2022
687ce8a
chore(deps): bump github.com/microcosm-cc/bluemonday (#520)
dependabot[bot] Feb 14, 2022
4a6672a
chore(deps): bump golang from 1.17.6-alpine to 1.17.7-alpine (#518)
dependabot[bot] Feb 14, 2022
8865959
chore(deps): bump github.com/projectdiscovery/wappalyzergo (#519)
dependabot[bot] Feb 14, 2022
e2b0c16
Add hash flag, to support multi body hash type. (#517)
M09Ic Feb 15, 2022
22ab14a
chore(deps): bump github.com/projectdiscovery/wappalyzergo (#524)
dependabot[bot] Feb 21, 2022
9dd6f20
add env MSYS_NO_PATHCONV to windows build test to prevent path expans…
parrasajad Feb 24, 2022
ef22a65
chore(deps): bump github.com/projectdiscovery/wappalyzergo (#531)
dependabot[bot] Feb 28, 2022
20c5b60
chore(deps): bump golangci/golangci-lint-action from 2 to 3.1.0 (#530)
dependabot[bot] Feb 28, 2022
03ded97
hash improvement (#528)
LuitelSamikshya Mar 1, 2022
8e7f895
readme and banner update
ehsandeep Mar 1, 2022
acfb1c7
removed duplicate (deprecated) flag - paths
ehsandeep Mar 1, 2022
b14406e
more updates
ehsandeep Mar 1, 2022
1c737d7
typo update
ehsandeep Mar 1, 2022
05ab529
minor breaking change in default json output
ehsandeep Mar 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,20 @@ updates:
commit-message:
prefix: "chore"
include: "scope"
labels:
- "Type: Maintenance"

# Maintain dependencies for go modules
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
interval: "daily"
target-branch: "dev"
commit-message:
prefix: "chore"
include: "scope"
labels:
- "Type: Maintenance"

# Maintain dependencies for docker
- package-ecosystem: "docker"
Expand All @@ -34,4 +38,6 @@ updates:
target-branch: "dev"
commit-message:
prefix: "chore"
include: "scope"
include: "scope"
labels:
- "Type: Maintenance"
38 changes: 29 additions & 9 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,45 @@ on:
pull_request:
workflow_dispatch:


jobs:
build:
name: Test Builds
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2

- uses: actions/setup-go@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17

- name: Check out code
uses: actions/checkout@v2

- name: Build
run: go build .
working-directory: cmd/httpx/

- name: Test
run: go test ./...
working-directory: .

- name: Integration Tests
- name: Integration Tests Linux, macOS
if: runner.os == 'Linux' || runner.os == 'macOS'
env:
GH_ACTION: true
run: bash run.sh
working-directory: integration_tests/

- name: Build
run: go build .

- name: Integration Tests Windows
if: runner.os == 'Windows'
env:
GH_ACTION: true
MSYS_NO_PATHCONV: true
run: bash run.sh
working-directory: integration_tests/

- name: Race Condition Tests
run: go build -race .
working-directory: cmd/httpx/
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: 🚨 CodeQL Analysis

on:
workflow_dispatch:
push:
pull_request:
branches:
- dev
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/functional-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
pull_request:
workflow_dispatch:


jobs:
functional:
name: Functional Test
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Set up Go
uses: actions/setup-go@v2
Expand All @@ -21,5 +23,5 @@ jobs:
- name: Functional Tests
run: |
chmod +x run.sh
bash run.sh
bash run.sh ${{ matrix.os }}
working-directory: cmd/functional-test
2 changes: 1 addition & 1 deletion .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3.1.0
with:
version: latest
args: --timeout 5m
Expand Down
23 changes: 13 additions & 10 deletions .github/workflows/release-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-go@v2
with:
- name: "Check out code"
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: "Set up Go"
uses: actions/setup-go@v2
with:
go-version: 1.17

-
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
name: "Create release on GitHub"

- name: "Create release on GitHub"
uses: goreleaser/goreleaser-action@v2
with:
with:
args: "release --rm-dist"
version: latest
workdir: .
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
38 changes: 38 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: 👮🏼‍♂️ Sonarcloud
on:
push:
branches:
- master
- dev
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:

jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: "Set up Go"
uses: actions/setup-go@v2
with:
go-version: 1.17

- name: Run unit Tests
run: |
go test -coverprofile=./cov.out ./...

- name: Run Gosec Security Scanner
run: |
go install github.com/securego/gosec/cmd/gosec@latest
gosec -no-fail -fmt=sonarqube -out report.json ./...

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.6-alpine AS builder
FROM golang:1.17.7-alpine AS builder
RUN apk add --no-cache git
RUN go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest

Expand Down
Loading