diff --git a/.github/build/linux.yml b/.github/build/linux.yml index b11c1a299..4eed2ee9d 100755 --- a/.github/build/linux.yml +++ b/.github/build/linux.yml @@ -1,9 +1,6 @@ env: - GO111MODULE=on -before: - hooks: -# - go mod tidy -# - .github/workflows/upx.sh + project_name: scan4all builds: - id: scan4all-linux diff --git a/.github/build/linuxarm64.yml b/.github/build/linuxarm64.yml index de4f05402..36728b454 100755 --- a/.github/build/linuxarm64.yml +++ b/.github/build/linuxarm64.yml @@ -1,9 +1,6 @@ env: - GO111MODULE=on -before: - hooks: -# - go mod tidy -# - .github/workflows/upx.sh + project_name: scan4all builds: - id: scan4all-linux diff --git a/.github/build/mac.yml b/.github/build/mac.yml index bf96ba2ad..e006edb24 100755 --- a/.github/build/mac.yml +++ b/.github/build/mac.yml @@ -1,9 +1,6 @@ env: - GO111MODULE=on -before: - hooks: -# - go mod tidy -# - .github/workflows/upx.sh + project_name: scan4all builds: - id: scan4all-darwin diff --git a/.github/build/windows.yml b/.github/build/windows.yml index 471563c0d..ab9a70d1d 100755 --- a/.github/build/windows.yml +++ b/.github/build/windows.yml @@ -1,11 +1,6 @@ env: - GO111MODULE=on -before: - hooks: -# - go mod tidy -#after: -# hooks: -# post: ./upx.sh + project_name: scan4all builds: - id: scan4all-windows diff --git a/.github/workflows/autoUpSubmodule.yml b/.github/workflows/autoUpSubmodule.yml deleted file mode 100644 index 7f78ccf96..000000000 --- a/.github/workflows/autoUpSubmodule.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Auto Update Submodule - -on: - repository_dispatch: - types: [ sync-shared-submodules ] - -env: - COMMIT_MESSAGE: "chore: update submodules" - -jobs: - sync-shared-submodule: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - token: ${{ secrets.GITHUB_TOKEN }} - submodules: "true" - - name: Update submodule - run: | - git submodule update --init --recursive --remote -# - name: Push changes -# uses: ad-m/github-push-action@master -# with: -# github_token: ${{ secrets.GITHUB_TOKEN }} -# branch: ${{ github.ref }} - - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: "Auto Update Submodule" \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 70b2daded..817e813bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: uses: goreleaser/goreleaser-action@v2 with: version: latest - args: release -f .github/build/mac.yml --rm-dist + args: release -f .github/build/mac.yml --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://github.com/marketplace/actions/run-on-architecture#supported-platforms @@ -49,7 +49,7 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.21.3 - - name: Install Dependences + - name: Install Dependencies run: | sudo apt-get update # sudo apt-get -y install gcc-mingw-w64-x86-64 @@ -63,7 +63,7 @@ jobs: uses: goreleaser/goreleaser-action@v2 with: version: latest - args: release -f .github/build/linux.yml --rm-dist + args: release -f .github/build/linux.yml --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -85,6 +85,6 @@ jobs: uses: goreleaser/goreleaser-action@v2 with: version: latest - args: release -f .github/build/windows.yml --rm-dist + args: release -f .github/build/windows.yml --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/dockerhub-push.yml b/.github/workflows/dockerhub-push.yml deleted file mode 100644 index 3eab99019..000000000 --- a/.github/workflows/dockerhub-push.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: 🌥 Docker Push - -on: - push: - branches: - - "main" -jobs: - docker: - runs-on: ubuntu-latest - steps: - - - name: Checkout - uses: actions/checkout@v3 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_TOKEN }} - - - name: Login to GitHub Container Registry - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push - uses: docker/build-push-action@v3 - with: - context: . - platforms: linux/amd64,linux/arm64 - push: true - tags: | - user/app:latest - user/app:1.0.0 - ghcr.io/user/app:latest - ghcr.io/user/app:1.0.0 -jobs: - docker: - runs-on: ubuntu-latest - steps: - - name: Git Checkout - uses: actions/checkout@v3 - - - name: Get Github tag - id: meta - run: | - echo "::set-output name=tag::$(curl --silent "https://api.github.com/repos/hktalent/scan4all/releases/latest" | jq -r .tag_name)" - - - name: Setup QEMU Emulator - uses: docker/setup-qemu-action@master - with: - platforms: all - - name: Setup Docker Buildx Command - id: buildx - uses: docker/setup-buildx-action@master - - name: Login to Dockerhub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_TOKEN }} - - - name: Build Docker Image and Push - uses: docker/build-push-action@v2 - with: - context: . - platforms: linux/amd64 - push: true - tags: hktalent/scan4all:latest,hktalent/scan4all:${{ steps.meta.outputs.tag }} - - name: Update Docker Hub Description - uses: peter-evans/dockerhub-description@v3 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_TOKEN }} - repository: cloudreve/cloudreve - short-description: ${{ github.event.repository.description }} - - name: Image Digest - run: echo ${{ steps.docker_build.outputs.digest }} \ No newline at end of file diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 8db296bfb..beb30683a 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -18,7 +18,7 @@ jobs: - name: "Set up Go" uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.21.3 - name: Run unit Tests working-directory: v2/ diff --git a/README.md b/README.md index 9c33847c5..f86e8e089 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ image +- Free one id Multi-target web netcat for reverse shell + - What is scan4all: integrated vscan, nuclei, ksubdomain, subfinder, etc., fully automated and intelligent。red team tools Code-level optimization, parameter optimization, and individual modules, such as vscan filefuzz, have been rewritten for these integrated projects. In principle, do not repeat the wheel, unless there are bugs, problems