From 4e4dec0126fc5da8ab2793e795f72ba071289dbe Mon Sep 17 00:00:00 2001 From: hktalent <18223385+hktalent@users.noreply.github.com> Date: Sat, 8 Oct 2022 09:51:30 +0800 Subject: [PATCH] =?UTF-8?q?nuclei=E5=B0=86=E4=B8=8D=E5=86=8D=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=EF=BC=9B=E8=B0=83=E6=95=B4=E5=8C=85=E5=90=8D=E4=B8=BA?= =?UTF-8?q?ProScan4all=202022-10-08?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dockerhub-push.yml | 4 +- HomebrewFormula/scan4all.rb | 2 +- README.md | 12 ++-- README_CN.md | 12 ++-- brute/admin_brute.go | 2 +- brute/basic_brute.go | 2 +- brute/bypass403.go | 2 +- brute/check_loginpage.go | 2 +- brute/dicts.go | 2 +- brute/filefuzz.go | 2 +- brute/fuzzAI.go | 6 +- brute/fuzzfingerprints.go | 2 +- brute/jboss_brute.go | 2 +- brute/supportinfo.go | 2 +- brute/tomcat_brute.go | 2 +- brute/weblogic_brute.go | 2 +- engine/dispather.go | 2 +- engine/dispather_test.go | 2 +- engine/engineImp.go | 4 +- fixMod.sh | 4 ++ go.mod | 4 +- go.sum | 4 -- lib/Smuggling/Base.go | 2 +- lib/Smuggling/CheckSmuggling.go | 4 +- lib/Smuggling/TE_CL.go | 2 +- lib/Smuggling/generate/generateCLTE.go | 6 +- lib/api/main.go | 8 +-- lib/crawlergo/test/main.go | 2 +- lib/socket/ConnTarget.go | 2 +- lib/test/test.go | 2 +- main.go | 4 +- pkg/domain.go | 4 +- pkg/fingerprint/eHoleFingerData.go | 2 +- pkg/fingerprint/fgConst.go | 2 +- pkg/fingerprint/fingerScan.go | 2 +- pkg/fingerprint/getFavicon.go | 4 +- pkg/fingerprint/localFingerData.go | 2 +- pkg/httpx/common/customlist/customlist.go | 2 +- pkg/httpx/common/customports/customport.go | 2 +- pkg/httpx/common/fileutil/fileutil.go | 2 +- pkg/httpx/common/hashes/jarmhash.go | 2 +- pkg/httpx/common/httpx/csp.go | 2 +- pkg/httpx/common/httpx/httpx.go | 2 +- pkg/httpx/common/httpx/option.go | 2 +- pkg/httpx/runner/options.go | 19 ++++--- pkg/httpx/runner/runner.go | 26 ++++----- pkg/hydra/cracker.go | 42 +++++++------- pkg/hydra/doNmapResult.go | 4 +- pkg/hydra/elastic/elastic.go | 2 +- pkg/hydra/hydra.go | 8 +-- pkg/hydra/loadDicts.go | 2 +- pkg/hydra/oracle/oracle.go | 4 +- pkg/hydra/pop3/pop3main.go | 2 +- pkg/hydra/rdp/grdp.go | 2 +- pkg/hydra/redis/redis.go | 2 +- pkg/hydra/runner.go | 2 +- pkg/hydra/smb/smb.go | 2 +- pkg/hydra/svn/checksvn.go | 2 +- pkg/hydra/telnet/telnet.go | 2 +- pkg/hydra/type-auth.go | 2 +- pkg/hydra/type-authinfo.go | 2 +- pkg/hydra/type-authlist.go | 2 +- pkg/jndi/jndilog.go | 2 +- pkg/jndi/server.go | 2 +- pkg/kscan/core/slog/slog.go | 4 +- pkg/kscan/lib/gotelnet/telnet.go | 2 +- pkg/kscan/lib/grdp/core/rle.go | 2 +- pkg/kscan/lib/grdp/core/types.go | 2 +- pkg/kscan/lib/grdp/grdp.go | 18 +++--- pkg/kscan/lib/grdp/grdp_test.go | 2 +- pkg/kscan/lib/grdp/protocol/lic/lic.go | 2 +- pkg/kscan/lib/grdp/protocol/nla/cssp.go | 2 +- pkg/kscan/lib/grdp/protocol/nla/encode.go | 2 +- pkg/kscan/lib/grdp/protocol/nla/ntlm.go | 4 +- pkg/kscan/lib/grdp/protocol/pdu/caps.go | 6 +- pkg/kscan/lib/grdp/protocol/pdu/cliprdr.go | 4 +- pkg/kscan/lib/grdp/protocol/pdu/data.go | 4 +- pkg/kscan/lib/grdp/protocol/pdu/pdu.go | 8 +-- pkg/kscan/lib/grdp/protocol/rfb/rfb.go | 6 +- pkg/kscan/lib/grdp/protocol/sec/sec.go | 16 +++--- pkg/kscan/lib/grdp/protocol/t125/ber/ber.go | 2 +- pkg/kscan/lib/grdp/protocol/t125/gcc/gcc.go | 6 +- pkg/kscan/lib/grdp/protocol/t125/mcs.go | 12 ++-- pkg/kscan/lib/grdp/protocol/t125/per/per.go | 4 +- pkg/kscan/lib/grdp/protocol/tpkt/tpkt.go | 8 +-- pkg/kscan/lib/grdp/protocol/x224/x224.go | 8 +-- pkg/kscan/lib/pool/pool.go | 6 +- pkg/ksubdomain/ksbdomain.go | 2 +- pkg/naabu/v2/pkg/runner/options.go | 6 +- pkg/naabu/v2/pkg/runner/runner.go | 16 +++--- pkg/naabu/v2/pkg/runner/targets.go | 10 ++-- pkg/naabu/v2/pkg/runner/validate.go | 2 +- pkg/naabu/v2/pkg/scan/scan.go | 4 +- pkg/portScan/masscan.go | 2 +- pkg/portScan/masscanTarget.go | 2 +- pkg/portScan/nmapScan.go | 2 +- pkg/portScan/test/test.go | 6 +- pkg/portScan/testnmanp/test.go | 2 +- pocs_go/Springboot/CVE-2022-22947.go | 2 +- pocs_go/Springboot/CVE-2022-22965.go | 2 +- pocs_go/ThinkPHP/check.go | 2 +- pocs_go/VMware/vCenter/CVE_2021_21985.go | 2 +- pocs_go/VMware/vCenter/c_21972.go | 2 +- pocs_go/VMware/vCenter/c_21985.go | 2 +- pocs_go/VMware/vCenter/c_22005.go | 2 +- pocs_go/apache/poc-go-zookeeper-unauth.go | 2 +- pocs_go/confluence/CVE-2021-26085.go | 2 +- pocs_go/confluence/CVE_2021_26084.go | 2 +- pocs_go/confluence/CVE_2022_26134.go | 2 +- pocs_go/confluence/CVE_2022_26318.go | 2 +- pocs_go/f5/CVE_2020_5902.go | 2 +- pocs_go/f5/CVE_2021_22986.go | 2 +- pocs_go/f5/CVE_2022_1388.go | 2 +- pocs_go/fastjson/check.go | 4 +- pocs_go/gitlab/CVE_2021_22205.go | 2 +- pocs_go/go_poc_check.go | 56 +++++++++---------- pocs_go/jboss/CVE_2017_12149.go | 2 +- pocs_go/jenkins/CVE_2018_1000110.go | 2 +- pocs_go/jenkins/CVE_2018_1000861.go | 2 +- pocs_go/jenkins/CVE_2019_1003000.go | 2 +- pocs_go/jenkins/Unauthorized.go | 2 +- pocs_go/landray/Landray_RCE.go | 2 +- pocs_go/log4j/check.go | 4 +- pocs_go/mcms/Front_Desk_sqlinject.go | 2 +- pocs_go/ms/ms17010.go | 2 +- pocs_go/phpunit/CVE_2017_9841.go | 2 +- pocs_go/seeyon/BackdoorScan.go | 2 +- pocs_go/seeyon/CNVD_2019_19299.go | 2 +- pocs_go/seeyon/CNVD_2020_62422.go | 2 +- pocs_go/seeyon/CNVD_2021_01627.go | 2 +- pocs_go/seeyon/CreateMysql.go | 2 +- pocs_go/seeyon/DownExcelBeanServlet.go | 2 +- pocs_go/seeyon/GetSessionList.go | 2 +- pocs_go/seeyon/InitDataAssess.go | 2 +- pocs_go/seeyon/ManagementStatus.go | 2 +- pocs_go/seeyon/SeeyonFastjson.go | 2 +- pocs_go/seeyon/SessionUpload.go | 2 +- pocs_go/shiro/CVE_2016_4437.go | 2 +- pocs_go/spark/CVE_2022_33891.go | 2 +- pocs_go/sunlogin/RCE.go | 2 +- pocs_go/tomcat/CVE_2017_12615.go | 2 +- pocs_go/tomcat/CVE_2020_1938.go | 2 +- pocs_go/tongda/api_ali_php_any_fileUpload.go | 2 +- pocs_go/tongda/file_delete.go | 2 +- pocs_go/tongda/get_user_session.go | 2 +- pocs_go/weblogic/CVE_2014_4210.go | 2 +- pocs_go/weblogic/CVE_2017_10271.go | 2 +- pocs_go/weblogic/CVE_2017_3506.go | 2 +- pocs_go/weblogic/CVE_2018_2894.go | 2 +- pocs_go/weblogic/CVE_2019_2725.go | 2 +- pocs_go/weblogic/CVE_2019_2729.go | 2 +- pocs_go/weblogic/CVE_2020_14882.go | 2 +- pocs_go/weblogic/CVE_2020_14883.go | 2 +- pocs_go/weblogic/CVE_2020_2883.go | 2 +- pocs_go/weblogic/CVE_2021_2109.go | 2 +- pocs_go/zabbix/CVE-2022-23131.go | 2 +- pocs_go/zentao/CNVD_2022_42853.go | 2 +- pocs_yml/check/check.go | 8 +-- pocs_yml/pkg/common/structs/commonStructs.go | 2 +- pocs_yml/pkg/xray/cel/cel.go | 2 +- pocs_yml/pkg/xray/cel/definition.go | 2 +- pocs_yml/pkg/xray/cel/implementation.go | 8 +-- pocs_yml/pkg/xray/requests/cache.go | 4 +- pocs_yml/pkg/xray/requests/requests.go | 4 +- pocs_yml/utils/load.go | 2 +- pocs_yml/yml_poc_check.go | 10 ++-- .../nuclei_Yaml/nclruner/runner/runner.go | 2 +- projectdiscovery/nuclei_Yaml/nuclei_yaml.go | 4 +- static/Installation.md | 4 +- static/NicePwn.md | 2 +- test/nuclei/testNuclei.go | 4 +- test/test1/testPswd.go | 6 +- test/testCVE_2022_24706.go | 2 +- test/testFg.go | 6 +- test/testfg/TestFg2.go | 4 +- test/testreg1/testReg.go | 2 +- test/vnc/test.go | 2 +- testbd.sh | 4 +- webScan/Functions/Choose.go | 2 +- webScan/Functions/Final.go | 4 +- webScan/Functions/FindFile.go | 2 +- webScan/Functions/GetTitle.go | 4 +- webScan/Functions/HttpClient.go | 4 +- webScan/Functions/JudgeMent.go | 2 +- webScan/Functions/Loadlog.go | 4 +- webScan/Functions/loadJson.go | 2 +- webScan/webScanUrls.go | 6 +- 187 files changed, 373 insertions(+), 372 deletions(-) diff --git a/.github/workflows/dockerhub-push.yml b/.github/workflows/dockerhub-push.yml index 171bb6c07..f70bf5d32 100644 --- a/.github/workflows/dockerhub-push.yml +++ b/.github/workflows/dockerhub-push.yml @@ -17,7 +17,7 @@ jobs: - 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)" + echo "::set-output name=tag::$(curl --silent "https://api.github.com/repos/hktalent/ProScan4all/releases/latest" | jq -r .tag_name)" - name: Set up QEMU uses: docker/setup-qemu-action@v2 @@ -37,4 +37,4 @@ jobs: context: . platforms: linux/amd64 push: true - tags: hktalent/scan4all:latest,hktalent/scan4all:${{ steps.meta.outputs.tag }} \ No newline at end of file + tags: hktalent/ProScan4all:latest,hktalent/ProScan4all:${{ steps.meta.outputs.tag }} \ No newline at end of file diff --git a/HomebrewFormula/scan4all.rb b/HomebrewFormula/scan4all.rb index a992dfd15..3f54499bf 100644 --- a/HomebrewFormula/scan4all.rb +++ b/HomebrewFormula/scan4all.rb @@ -1,7 +1,7 @@ class Rage < Formula desc "Official repository vuls Scan: 15000+PoCs; 23 kinds of application password crack; 7000+Web fingerprints; 146 protocols and 90000+ rules Port scanning; Fuzz, HW, awesome BugBounty( ͡° ͜ʖ ͡°)..." homepage "https://scan4all.51pwn.com" - szUrl "/~https://github.com/hktalent/scan4all/releases/download/2.8.1/scan4all_2.8.1_macOS_amd64.zip" + szUrl "/~https://github.com/hktalent/ProScan4all/releases/download/2.8.1/scan4all_2.8.1_macOS_amd64.zip" sha256 "2af8d9f67bae7c03ef20d064b2f23e7bef4c95f0cf7e1da33cbd42fcceabeb39" version "2.8.1" diff --git a/README.md b/README.md index 24d157178..b86df980c 100644 --- a/README.md +++ b/README.md @@ -127,9 +127,9 @@ mkdir ~/MyWork/;cd ~/MyWork/;git clone /~https://github.com/hktalent/log4j-scan # how to install download from -Releases +Releases ```bash -go install github.com/hktalent/scan4all@2.6.9 +go install github.com/hktalent/ProScan4all@2.6.9 scan4all -h ```` # how to use @@ -146,7 +146,7 @@ where 92.168.0.111 is the target to query ```` - Please install nmap by yourself before use - Using Help + Using Help ```bash go build # Precise scan szUrl list UrlPrecise=true @@ -169,7 +169,7 @@ priorityNmap=false ./scan4all -tp http -list allOut.txt -v - how use Cookie? - libpcap related question -more see: discussions +more see: discussions # Changelog - 2022-07-28 Added substr and aes_cbc dsl helper by me nuclei v2.7.7 @@ -193,11 +193,11 @@ more see: discussions||||| +|||||| ## 💖Star -[![Stargazers over time](https://starchart.cc/hktalent/scan4all.svg)](https://starchart.cc/hktalent/scan4all) +[![Stargazers over time](https://starchart.cc/hktalent/ProScan4all.svg)](https://starchart.cc/hktalent/ProScan4all) # Donation | Wechat Pay | AliPay | Paypal | BTC Pay |BCH Pay | diff --git a/README_CN.md b/README_CN.md index 46d0b29e3..91933261d 100644 --- a/README_CN.md +++ b/README_CN.md @@ -128,9 +128,9 @@ mkdir ~/MyWork/;cd ~/MyWork/;git clone /~https://github.com/hktalent/log4j-scan # 如何安装 download from -Releases +Releases ```bash -go install github.com/hktalent/scan4all@2.6.9 +go install github.com/hktalent/ProScan4all@2.6.9 scan4all -h ``` # 如何使用 @@ -171,7 +171,7 @@ http://127.0.0.1:9200/nmap_index/_doc/_search?q=_id:192.168.0.111 ``` - 使用前请自行安装nmap -使用帮助 +使用帮助 ```bash export GOPRIVATE=github.com/hktalent go env |grep GOPRIVATE @@ -204,7 +204,7 @@ priorityNmap=false ./scan4all -tp http -list allOut.txt -v # Q & A - how use Cookie? - libpcap related question -more see: discussions +more see: discussions # 变更日志 - 2022-10-03 Pro版本: @@ -239,11 +239,11 @@ more see: discussions||||| +|||||| ## 💖Star -[![Stargazers over time](https://starchart.cc/hktalent/scan4all.svg)](https://starchart.cc/hktalent/scan4all) +[![Stargazers over time](https://starchart.cc/hktalent/ProScan4all.svg)](https://starchart.cc/hktalent/ProScan4all) # Donation | Wechat Pay | AliPay | Paypal | BTC Pay |BCH Pay | diff --git a/brute/admin_brute.go b/brute/admin_brute.go index 03c37df8b..a701099e6 100644 --- a/brute/admin_brute.go +++ b/brute/admin_brute.go @@ -3,7 +3,7 @@ package brute import ( "crypto/md5" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "net/url" "regexp" "strings" diff --git a/brute/basic_brute.go b/brute/basic_brute.go index 15ccb250c..d74f93742 100644 --- a/brute/basic_brute.go +++ b/brute/basic_brute.go @@ -1,7 +1,7 @@ package brute import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) // 优化应该考虑 diff --git a/brute/bypass403.go b/brute/bypass403.go index 3779ba3b2..e4694c439 100644 --- a/brute/bypass403.go +++ b/brute/bypass403.go @@ -2,7 +2,7 @@ package brute import ( "context" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "net/http" "regexp" "strings" diff --git a/brute/check_loginpage.go b/brute/check_loginpage.go index a828b6163..fb6648293 100644 --- a/brute/check_loginpage.go +++ b/brute/check_loginpage.go @@ -1,7 +1,7 @@ package brute import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "net/url" "regexp" "strings" diff --git a/brute/dicts.go b/brute/dicts.go index 7df26ec9d..bf268bd07 100644 --- a/brute/dicts.go +++ b/brute/dicts.go @@ -2,7 +2,7 @@ package brute import ( _ "embed" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/brute/filefuzz.go b/brute/filefuzz.go index ff8aaca50..c2fb816da 100644 --- a/brute/filefuzz.go +++ b/brute/filefuzz.go @@ -4,9 +4,9 @@ import ( "context" _ "embed" "github.com/antlabs/strsim" + "github.com/hktalent/ProScan4all/lib/util" "github.com/hktalent/goSqlite_gorm/lib/scan/Const" "github.com/hktalent/goSqlite_gorm/pkg/models" - "github.com/hktalent/scan4all/lib/util" "log" "net/url" "regexp" diff --git a/brute/fuzzAI.go b/brute/fuzzAI.go index 24b707450..2d457380f 100644 --- a/brute/fuzzAI.go +++ b/brute/fuzzAI.go @@ -4,9 +4,9 @@ import ( _ "embed" "encoding/json" "github.com/antlabs/strsim" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg" - "github.com/hktalent/scan4all/pkg/fingerprint" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg" + "github.com/hktalent/ProScan4all/pkg/fingerprint" "gorm.io/gorm" "net/url" "regexp" diff --git a/brute/fuzzfingerprints.go b/brute/fuzzfingerprints.go index 134894085..cd82c9674 100644 --- a/brute/fuzzfingerprints.go +++ b/brute/fuzzfingerprints.go @@ -3,7 +3,7 @@ package brute import ( "encoding/json" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/brute/jboss_brute.go b/brute/jboss_brute.go index b2ba645b0..21239afb8 100644 --- a/brute/jboss_brute.go +++ b/brute/jboss_brute.go @@ -2,7 +2,7 @@ package brute import ( "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func Jboss_brute(url string) (username string, password string) { diff --git a/brute/supportinfo.go b/brute/supportinfo.go index 5c50a1ddd..76fb22203 100644 --- a/brute/supportinfo.go +++ b/brute/supportinfo.go @@ -2,7 +2,7 @@ package brute import ( _ "embed" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "regexp" "strings" ) diff --git a/brute/tomcat_brute.go b/brute/tomcat_brute.go index 30ca9e7ba..6d8a48bb0 100644 --- a/brute/tomcat_brute.go +++ b/brute/tomcat_brute.go @@ -2,7 +2,7 @@ package brute import ( "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func Tomcat_brute(url string) (username string, password string) { diff --git a/brute/weblogic_brute.go b/brute/weblogic_brute.go index 84b55a712..ea442f4f1 100644 --- a/brute/weblogic_brute.go +++ b/brute/weblogic_brute.go @@ -2,7 +2,7 @@ package brute import ( "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) // weblogic默认的登陆尝试次数为5次, diff --git a/engine/dispather.go b/engine/dispather.go index ec08fa967..4f0989612 100644 --- a/engine/dispather.go +++ b/engine/dispather.go @@ -1,10 +1,10 @@ package engine import ( + "github.com/hktalent/ProScan4all/pkg/portScan" "github.com/hktalent/goSqlite_gorm/lib" . "github.com/hktalent/goSqlite_gorm/lib/scan/Const" "github.com/hktalent/goSqlite_gorm/pkg/models" - "github.com/hktalent/scan4all/pkg/portScan" ) // 扫描任务分发 diff --git a/engine/dispather_test.go b/engine/dispather_test.go index 8978a7974..3c00d9eef 100644 --- a/engine/dispather_test.go +++ b/engine/dispather_test.go @@ -1,9 +1,9 @@ package engine import ( + "github.com/hktalent/ProScan4all/lib/util" "github.com/hktalent/goSqlite_gorm/lib/scan/Const" "github.com/hktalent/goSqlite_gorm/pkg/models" - "github.com/hktalent/scan4all/lib/util" "os" "runtime" "testing" diff --git a/engine/engineImp.go b/engine/engineImp.go index 507d10702..1421a7d80 100644 --- a/engine/engineImp.go +++ b/engine/engineImp.go @@ -2,10 +2,10 @@ package engine import ( "context" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pocs_go" "github.com/hktalent/goSqlite_gorm/lib" "github.com/hktalent/goSqlite_gorm/pkg/models" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pocs_go" "github.com/panjf2000/ants/v2" "log" "sync" diff --git a/fixMod.sh b/fixMod.sh index adde220b4..7594fc9a6 100644 --- a/fixMod.sh +++ b/fixMod.sh @@ -3,7 +3,9 @@ go get github.com/projectdiscovery/retryabledns@v1.0.13 go get "github.com/cockroachdb/pebble@v0.0.0-20210728210723-48179f1d4dae" go get "github.com/projectdiscovery/stringsutil@v0.0.0-20220612082425-0037ce9f89f3" go get "github.com/projectdiscovery/ipranger@v0.0.3-0.20210831161617-ac80efae0961" +go get "github.com/go-rod/rod/lib/proto" +go get "github.com/projectdiscovery/nuclei/v2@v2.7.8" go mod tidy;go mod vendor git checkout vendor/github.com/projectdiscovery/nuclei/v2/pkg/protocols/http/request.go @@ -16,3 +18,5 @@ git add vendor rm -rf vendor/github.com/hktalent/goSqlite_gorm ln -s $HOME/MyWork/goSqlite_gorm $PWD/vendor/github.com/hktalent/goSqlite_gorm +go mod tidy;go mod vendor; +go mod vendor;go vet \ No newline at end of file diff --git a/go.mod b/go.mod index 3c1b41736..3d8943427 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/hktalent/scan4all +module github.com/hktalent/ProScan4all go 1.18 @@ -93,7 +93,6 @@ require ( github.com/dgraph-io/badger v1.6.2 github.com/dlclark/regexp2 v1.7.0 github.com/emersion/go-message v0.16.0 - github.com/fsnotify/fsnotify v1.5.4 github.com/go-playground/validator/v10 v10.11.1 github.com/go-routeros/routeros v0.0.0-20210123142807-2a44d57c6730 github.com/go-sql-driver/mysql v1.6.0 @@ -181,6 +180,7 @@ require ( github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594 // indirect github.com/fatih/structs v1.1.0 // indirect github.com/fortytw2/leaktest v1.3.0 // indirect + github.com/fsnotify/fsnotify v1.5.4 // indirect github.com/getsentry/sentry-go v0.13.0 // indirect github.com/gin-contrib/sse v0.1.0 // indirect github.com/gin-gonic/gin v1.8.1 // indirect diff --git a/go.sum b/go.sum index 1341ac9c1..581c1e441 100644 --- a/go.sum +++ b/go.sum @@ -514,10 +514,6 @@ github.com/hktalent/PipelineHttp v0.0.0-20221007051907-72402204b668 h1:10csPasxw github.com/hktalent/PipelineHttp v0.0.0-20221007051907-72402204b668/go.mod h1:ncw1+ugTc5GPQLUHHI7uWrgW2KWBppDBWwwjC984QJg= github.com/hktalent/go-utils v0.0.0-20221004095234-2e23f13b429d h1:z1IUP4hqn0LGgs78bU2gSlna92/p+RlB0MSZ+RxSmCo= github.com/hktalent/go-utils v0.0.0-20221004095234-2e23f13b429d/go.mod h1:Du0lF0ZtTONXpWydjmnsL71He+zlimYLmTmAZta19ZA= -github.com/hktalent/goSqlite_gorm v1.1.1 h1:kRqNFqAOtECWsUu5nBftCYFJ8MAhEHgjj2A2JOydXp0= -github.com/hktalent/goSqlite_gorm v1.1.1/go.mod h1:KbxDn4W3dakhiX9eFzZ/sEAuJwKS7h42Xi3aaqU1IjE= -github.com/hktalent/goSqlite_gorm v1.1.2 h1:m6/OQFbIYRvv/ptckxhAXX8h7QZ0iKINXa3ZViNoZuE= -github.com/hktalent/goSqlite_gorm v1.1.2/go.mod h1:GnAPG+EfWVn/pI2mVz+r43cE/l6Suu647I5Hvo/kGmc= github.com/hktalent/goSqlite_gorm v1.1.3 h1:PZNdM8/w4thzlpOhpFW4Qqytaf/0RF19aiTyA3H1HG0= github.com/hktalent/goSqlite_gorm v1.1.3/go.mod h1:GnAPG+EfWVn/pI2mVz+r43cE/l6Suu647I5Hvo/kGmc= github.com/hktalent/jarm-go v0.0.0-20220918133110-7801447b6267 h1:eH9QDUO5zwn34BLweSdpTdNcxHD/GXxxLDEG7gaR4OQ= diff --git a/lib/Smuggling/Base.go b/lib/Smuggling/Base.go index c242c15d0..2898985e8 100644 --- a/lib/Smuggling/Base.go +++ b/lib/Smuggling/Base.go @@ -1,7 +1,7 @@ package Smuggling import ( - "github.com/hktalent/scan4all/lib/socket" + "github.com/hktalent/ProScan4all/lib/socket" "log" "strings" ) diff --git a/lib/Smuggling/CheckSmuggling.go b/lib/Smuggling/CheckSmuggling.go index 9ab8859a8..a52417593 100644 --- a/lib/Smuggling/CheckSmuggling.go +++ b/lib/Smuggling/CheckSmuggling.go @@ -2,8 +2,8 @@ package Smuggling import ( "fmt" - "github.com/hktalent/scan4all/lib/socket" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/socket" + "github.com/hktalent/ProScan4all/lib/util" "log" "net/url" "strings" diff --git a/lib/Smuggling/TE_CL.go b/lib/Smuggling/TE_CL.go index e68213006..676a0bf08 100644 --- a/lib/Smuggling/TE_CL.go +++ b/lib/Smuggling/TE_CL.go @@ -1,7 +1,7 @@ package Smuggling import ( - "github.com/hktalent/scan4all/lib/socket" + "github.com/hktalent/ProScan4all/lib/socket" "log" "strings" ) diff --git a/lib/Smuggling/generate/generateCLTE.go b/lib/Smuggling/generate/generateCLTE.go index 63d968c61..ff54645a5 100644 --- a/lib/Smuggling/generate/generateCLTE.go +++ b/lib/Smuggling/generate/generateCLTE.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "github.com/hktalent/scan4all/lib/Smuggling" - "github.com/hktalent/scan4all/lib/socket" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/Smuggling" + "github.com/hktalent/ProScan4all/lib/socket" + "github.com/hktalent/ProScan4all/lib/util" "net/url" "strings" "sync" diff --git a/lib/api/main.go b/lib/api/main.go index 2ae5d1f58..f8ee78612 100644 --- a/lib/api/main.go +++ b/lib/api/main.go @@ -2,10 +2,10 @@ package api import ( "encoding/json" - _ "github.com/hktalent/scan4all/engine" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/hydra" - naaburunner "github.com/hktalent/scan4all/pkg/naabu/v2/pkg/runner" + _ "github.com/hktalent/ProScan4all/engine" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/hydra" + naaburunner "github.com/hktalent/ProScan4all/pkg/naabu/v2/pkg/runner" "github.com/projectdiscovery/gologger" "io" "io/ioutil" diff --git a/lib/crawlergo/test/main.go b/lib/crawlergo/test/main.go index 75c01e799..c6129da33 100644 --- a/lib/crawlergo/test/main.go +++ b/lib/crawlergo/test/main.go @@ -3,7 +3,7 @@ package main import ( "context" "github.com/chromedp/chromedp" - pkg "github.com/hktalent/scan4all/lib/crawlergo" + pkg "github.com/hktalent/ProScan4all/lib/crawlergo" "log" "time" ) diff --git a/lib/socket/ConnTarget.go b/lib/socket/ConnTarget.go index b0f3307b5..8cff34579 100644 --- a/lib/socket/ConnTarget.go +++ b/lib/socket/ConnTarget.go @@ -5,7 +5,7 @@ import ( "crypto/tls" "errors" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "net" "net/url" "strconv" diff --git a/lib/test/test.go b/lib/test/test.go index 888eec1e8..dae12452d 100644 --- a/lib/test/test.go +++ b/lib/test/test.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "log" "sync" ) diff --git a/main.go b/main.go index bd15ce8b6..3de3b06c6 100644 --- a/main.go +++ b/main.go @@ -3,8 +3,8 @@ package main import ( "embed" "fmt" - "github.com/hktalent/scan4all/lib/api" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/api" + "github.com/hktalent/ProScan4all/lib/util" "log" "net/http" _ "net/http/pprof" diff --git a/pkg/domain.go b/pkg/domain.go index 83ecff16e..3f3cf4dde 100644 --- a/pkg/domain.go +++ b/pkg/domain.go @@ -4,8 +4,8 @@ import ( "crypto/tls" "encoding/json" "fmt" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/projectdiscovery/subfinder" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/projectdiscovery/subfinder" "reflect" "strings" ) diff --git a/pkg/fingerprint/eHoleFingerData.go b/pkg/fingerprint/eHoleFingerData.go index 36a296f2b..7f1dd4292 100644 --- a/pkg/fingerprint/eHoleFingerData.go +++ b/pkg/fingerprint/eHoleFingerData.go @@ -2,7 +2,7 @@ package fingerprint import ( _ "embed" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) //go:embed dicts/eHoleFinger.json diff --git a/pkg/fingerprint/fgConst.go b/pkg/fingerprint/fgConst.go index a76c9cb6f..976ddcb1c 100644 --- a/pkg/fingerprint/fgConst.go +++ b/pkg/fingerprint/fgConst.go @@ -5,7 +5,7 @@ import ( _ "embed" "encoding/json" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "io/ioutil" "log" "net/http" diff --git a/pkg/fingerprint/fingerScan.go b/pkg/fingerprint/fingerScan.go index 984d15527..befeae281 100644 --- a/pkg/fingerprint/fingerScan.go +++ b/pkg/fingerprint/fingerScan.go @@ -4,7 +4,7 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "log" "net/url" "strings" diff --git a/pkg/fingerprint/getFavicon.go b/pkg/fingerprint/getFavicon.go index d85287d42..4619383ad 100644 --- a/pkg/fingerprint/getFavicon.go +++ b/pkg/fingerprint/getFavicon.go @@ -4,8 +4,8 @@ import ( "crypto/md5" "crypto/tls" "fmt" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/httpx/common/stringz" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/httpx/common/stringz" "io/ioutil" "log" "net/http" diff --git a/pkg/fingerprint/localFingerData.go b/pkg/fingerprint/localFingerData.go index e20716e9d..7b971c590 100644 --- a/pkg/fingerprint/localFingerData.go +++ b/pkg/fingerprint/localFingerData.go @@ -2,7 +2,7 @@ package fingerprint import ( _ "embed" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) //go:embed dicts/localFinger.json diff --git a/pkg/httpx/common/customlist/customlist.go b/pkg/httpx/common/customlist/customlist.go index 51814d831..114413594 100644 --- a/pkg/httpx/common/customlist/customlist.go +++ b/pkg/httpx/common/customlist/customlist.go @@ -1,6 +1,6 @@ package customlist -import "github.com/hktalent/scan4all/pkg/httpx/common/fileutil" +import "github.com/hktalent/ProScan4all/pkg/httpx/common/fileutil" const maxRecursion = 10 diff --git a/pkg/httpx/common/customports/customport.go b/pkg/httpx/common/customports/customport.go index eeb616f09..cb1a6ada3 100644 --- a/pkg/httpx/common/customports/customport.go +++ b/pkg/httpx/common/customports/customport.go @@ -7,7 +7,7 @@ import ( "github.com/projectdiscovery/gologger" "github.com/projectdiscovery/sliceutil" - "github.com/hktalent/scan4all/pkg/httpx/common/httpx" + "github.com/hktalent/ProScan4all/pkg/httpx/common/httpx" ) //nolint:gochecknoinits // this flag var needs a small refactor to avoid the use of the init function diff --git a/pkg/httpx/common/fileutil/fileutil.go b/pkg/httpx/common/fileutil/fileutil.go index 9e3ec3ebc..87e239629 100644 --- a/pkg/httpx/common/fileutil/fileutil.go +++ b/pkg/httpx/common/fileutil/fileutil.go @@ -9,8 +9,8 @@ import ( "path/filepath" "regexp" + "github.com/hktalent/ProScan4all/pkg/httpx/common/stringz" "github.com/projectdiscovery/fileutil" - "github.com/hktalent/scan4all/pkg/httpx/common/stringz" ) // HasStdin determines if the user has piped input diff --git a/pkg/httpx/common/hashes/jarmhash.go b/pkg/httpx/common/hashes/jarmhash.go index 79192bfda..299439dea 100644 --- a/pkg/httpx/common/hashes/jarmhash.go +++ b/pkg/httpx/common/hashes/jarmhash.go @@ -2,8 +2,8 @@ package hashes import ( "fmt" + "github.com/hktalent/ProScan4all/pkg/httpx/common/regexhelper" "github.com/hktalent/jarm-go" - "github.com/hktalent/scan4all/pkg/httpx/common/regexhelper" "golang.org/x/net/proxy" "net" "net/url" diff --git a/pkg/httpx/common/httpx/csp.go b/pkg/httpx/common/httpx/csp.go index 17359487b..4d28d0664 100644 --- a/pkg/httpx/common/httpx/csp.go +++ b/pkg/httpx/common/httpx/csp.go @@ -5,8 +5,8 @@ import ( "strings" "github.com/PuerkitoBio/goquery" + "github.com/hktalent/ProScan4all/pkg/httpx/common/slice" "github.com/projectdiscovery/stringsutil" - "github.com/hktalent/scan4all/pkg/httpx/common/slice" ) // CSPHeaders is an incomplete list of most common CSP headers diff --git a/pkg/httpx/common/httpx/httpx.go b/pkg/httpx/common/httpx/httpx.go index 1b916ed68..c02d9a0a3 100644 --- a/pkg/httpx/common/httpx/httpx.go +++ b/pkg/httpx/common/httpx/httpx.go @@ -3,7 +3,7 @@ package httpx import ( "crypto/tls" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "io" "io/ioutil" "net/http" diff --git a/pkg/httpx/common/httpx/option.go b/pkg/httpx/common/httpx/option.go index 11e6c11a0..039762675 100644 --- a/pkg/httpx/common/httpx/option.go +++ b/pkg/httpx/common/httpx/option.go @@ -59,7 +59,7 @@ var DefaultOptions = Options{ VHostIgnoreNumberOfLines: false, VHostStripHTML: false, VHostSimilarityRatio: 85, - DefaultUserAgent: "httpx - Open-source project (github.com/hktalent/scan4all/pkg/httpx)", + DefaultUserAgent: "httpx - Open-source project (github.com/hktalent/ProScan4all/pkg/httpx)", } func (options *Options) parseCustomCookies() { diff --git a/pkg/httpx/runner/options.go b/pkg/httpx/runner/options.go index 52ffac6f2..7745d8ff6 100644 --- a/pkg/httpx/runner/options.go +++ b/pkg/httpx/runner/options.go @@ -1,12 +1,12 @@ package runner import ( - "github.com/hktalent/scan4all/pkg/httpx/common/customheader" - "github.com/hktalent/scan4all/pkg/httpx/common/customlist" - customport "github.com/hktalent/scan4all/pkg/httpx/common/customports" - fileutilz "github.com/hktalent/scan4all/pkg/httpx/common/fileutil" - "github.com/hktalent/scan4all/pkg/httpx/common/slice" - "github.com/hktalent/scan4all/pkg/httpx/common/stringz" + "github.com/hktalent/ProScan4all/pkg/httpx/common/customheader" + "github.com/hktalent/ProScan4all/pkg/httpx/common/customlist" + customport "github.com/hktalent/ProScan4all/pkg/httpx/common/customports" + fileutilz "github.com/hktalent/ProScan4all/pkg/httpx/common/fileutil" + "github.com/hktalent/ProScan4all/pkg/httpx/common/slice" + "github.com/hktalent/ProScan4all/pkg/httpx/common/stringz" "github.com/projectdiscovery/fileutil" "github.com/projectdiscovery/goconfig" "github.com/projectdiscovery/goflags" @@ -27,6 +27,7 @@ const ( DefaultOutputDirectory = "output" ) +type NormalizedStringSlice []string type scanOptions struct { Methods []string StoreResponseDirectory string @@ -215,10 +216,10 @@ type Options struct { Stream bool SkipDedupe bool ProbeAllIPS bool - Resolvers goflags.NormalizedStringSlice + Resolvers NormalizedStringSlice Favicon bool - OutputFilterFavicon goflags.NormalizedStringSlice - OutputMatchFavicon goflags.NormalizedStringSlice + OutputFilterFavicon NormalizedStringSlice + OutputMatchFavicon NormalizedStringSlice LeaveDefaultPorts bool OutputLinesCount bool OutputMatchLinesCount string diff --git a/pkg/httpx/runner/runner.go b/pkg/httpx/runner/runner.go index 0a6e7c469..031decfc9 100644 --- a/pkg/httpx/runner/runner.go +++ b/pkg/httpx/runner/runner.go @@ -8,11 +8,11 @@ import ( "encoding/json" "fmt" "github.com/ammario/ipisp/v2" - "github.com/hktalent/scan4all/brute" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/fingerprint" - "github.com/hktalent/scan4all/pocs_go" - "github.com/hktalent/scan4all/pocs_yml" + "github.com/hktalent/ProScan4all/brute" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/fingerprint" + "github.com/hktalent/ProScan4all/pocs_go" + "github.com/hktalent/ProScan4all/pocs_yml" "io" "io/ioutil" "log" @@ -31,7 +31,7 @@ import ( "time" "github.com/bluele/gcache" - "github.com/hktalent/scan4all/pkg/httpx/common/hashes" + "github.com/hktalent/ProScan4all/pkg/httpx/common/hashes" "github.com/logrusorgru/aurora" "github.com/pkg/errors" "github.com/projectdiscovery/clistats" @@ -40,12 +40,12 @@ import ( "github.com/projectdiscovery/stringsutil" "github.com/projectdiscovery/urlutil" - customport "github.com/hktalent/scan4all/pkg/httpx/common/customports" - fileutilz "github.com/hktalent/scan4all/pkg/httpx/common/fileutil" - "github.com/hktalent/scan4all/pkg/httpx/common/httputilz" - "github.com/hktalent/scan4all/pkg/httpx/common/httpx" - "github.com/hktalent/scan4all/pkg/httpx/common/slice" - "github.com/hktalent/scan4all/pkg/httpx/common/stringz" + customport "github.com/hktalent/ProScan4all/pkg/httpx/common/customports" + fileutilz "github.com/hktalent/ProScan4all/pkg/httpx/common/fileutil" + "github.com/hktalent/ProScan4all/pkg/httpx/common/httputilz" + "github.com/hktalent/ProScan4all/pkg/httpx/common/httpx" + "github.com/hktalent/ProScan4all/pkg/httpx/common/slice" + "github.com/hktalent/ProScan4all/pkg/httpx/common/stringz" // automatic fd max increase if running as root _ "github.com/projectdiscovery/fdmax/autofdmax" "github.com/projectdiscovery/fileutil" @@ -859,7 +859,7 @@ retry: return Result{Input: origInput} } domain = parts[0] - //util "github.com/hktalent/scan4all/pkg" + //util "github.com/hktalent/ProScan4all/pkg" //util.Convert2Domains(domain) customHost = parts[1] } diff --git a/pkg/hydra/cracker.go b/pkg/hydra/cracker.go index 961a6c4a5..ec270ede2 100644 --- a/pkg/hydra/cracker.go +++ b/pkg/hydra/cracker.go @@ -2,27 +2,27 @@ package hydra import ( "fmt" - "github.com/hktalent/scan4all/pkg/hydra/elastic" - "github.com/hktalent/scan4all/pkg/hydra/ftp" - "github.com/hktalent/scan4all/pkg/hydra/mongodb" - "github.com/hktalent/scan4all/pkg/hydra/mssql" - "github.com/hktalent/scan4all/pkg/hydra/mysql" - "github.com/hktalent/scan4all/pkg/hydra/oracle" - "github.com/hktalent/scan4all/pkg/hydra/pop3" - "github.com/hktalent/scan4all/pkg/hydra/postgresql" - "github.com/hktalent/scan4all/pkg/hydra/rdp" - "github.com/hktalent/scan4all/pkg/hydra/redis" - "github.com/hktalent/scan4all/pkg/hydra/router" - "github.com/hktalent/scan4all/pkg/hydra/smb" - "github.com/hktalent/scan4all/pkg/hydra/snmp" - "github.com/hktalent/scan4all/pkg/hydra/socks5" - "github.com/hktalent/scan4all/pkg/hydra/ssh" - "github.com/hktalent/scan4all/pkg/hydra/telnet" - "github.com/hktalent/scan4all/pkg/hydra/vnc" - "github.com/hktalent/scan4all/pkg/hydra/winrm" - "github.com/hktalent/scan4all/pkg/kscan/core/slog" - "github.com/hktalent/scan4all/pkg/kscan/lib/gotelnet" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp" + "github.com/hktalent/ProScan4all/pkg/hydra/elastic" + "github.com/hktalent/ProScan4all/pkg/hydra/ftp" + "github.com/hktalent/ProScan4all/pkg/hydra/mongodb" + "github.com/hktalent/ProScan4all/pkg/hydra/mssql" + "github.com/hktalent/ProScan4all/pkg/hydra/mysql" + "github.com/hktalent/ProScan4all/pkg/hydra/oracle" + "github.com/hktalent/ProScan4all/pkg/hydra/pop3" + "github.com/hktalent/ProScan4all/pkg/hydra/postgresql" + "github.com/hktalent/ProScan4all/pkg/hydra/rdp" + "github.com/hktalent/ProScan4all/pkg/hydra/redis" + "github.com/hktalent/ProScan4all/pkg/hydra/router" + "github.com/hktalent/ProScan4all/pkg/hydra/smb" + "github.com/hktalent/ProScan4all/pkg/hydra/snmp" + "github.com/hktalent/ProScan4all/pkg/hydra/socks5" + "github.com/hktalent/ProScan4all/pkg/hydra/ssh" + "github.com/hktalent/ProScan4all/pkg/hydra/telnet" + "github.com/hktalent/ProScan4all/pkg/hydra/vnc" + "github.com/hktalent/ProScan4all/pkg/hydra/winrm" + "github.com/hktalent/ProScan4all/pkg/kscan/core/slog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/gotelnet" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp" ) func rdpCracker(IPAddr string, port int) func(interface{}) interface{} { diff --git a/pkg/hydra/doNmapResult.go b/pkg/hydra/doNmapResult.go index 7fbf9aec1..928872e3f 100644 --- a/pkg/hydra/doNmapResult.go +++ b/pkg/hydra/doNmapResult.go @@ -4,8 +4,8 @@ import ( "bytes" "fmt" "github.com/antchfx/xmlquery" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg" "io/ioutil" "log" "os" diff --git a/pkg/hydra/elastic/elastic.go b/pkg/hydra/elastic/elastic.go index 11851104a..16e966e75 100644 --- a/pkg/hydra/elastic/elastic.go +++ b/pkg/hydra/elastic/elastic.go @@ -3,7 +3,7 @@ package elastic import ( "context" "fmt" - "github.com/hktalent/scan4all/pkg/hydra/snmp" + "github.com/hktalent/ProScan4all/pkg/hydra/snmp" "github.com/olivere/elastic" "time" ) diff --git a/pkg/hydra/hydra.go b/pkg/hydra/hydra.go index 1522e543e..d497d991d 100644 --- a/pkg/hydra/hydra.go +++ b/pkg/hydra/hydra.go @@ -1,10 +1,10 @@ package hydra import ( - "github.com/hktalent/scan4all/pkg/hydra/oracle" - "github.com/hktalent/scan4all/pkg/kscan/lib/gotelnet" - "github.com/hktalent/scan4all/pkg/kscan/lib/misc" - "github.com/hktalent/scan4all/pkg/kscan/lib/pool" + "github.com/hktalent/ProScan4all/pkg/hydra/oracle" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/gotelnet" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/misc" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/pool" "strings" "time" ) diff --git a/pkg/hydra/loadDicts.go b/pkg/hydra/loadDicts.go index 5902e2815..76627248e 100644 --- a/pkg/hydra/loadDicts.go +++ b/pkg/hydra/loadDicts.go @@ -2,7 +2,7 @@ package hydra import ( _ "embed" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pkg/hydra/oracle/oracle.go b/pkg/hydra/oracle/oracle.go index c9e9ffee5..38911cd24 100644 --- a/pkg/hydra/oracle/oracle.go +++ b/pkg/hydra/oracle/oracle.go @@ -4,8 +4,8 @@ import ( "database/sql" "errors" "fmt" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/kscan/core/slog" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/kscan/core/slog" _ "github.com/sijms/go-ora/v2" "time" ) diff --git a/pkg/hydra/pop3/pop3main.go b/pkg/hydra/pop3/pop3main.go index f7b19956d..1091c866c 100644 --- a/pkg/hydra/pop3/pop3main.go +++ b/pkg/hydra/pop3/pop3main.go @@ -1,7 +1,7 @@ package pop3 import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "log" "strings" ) diff --git a/pkg/hydra/rdp/grdp.go b/pkg/hydra/rdp/grdp.go index 4826b953a..aebb52070 100644 --- a/pkg/hydra/rdp/grdp.go +++ b/pkg/hydra/rdp/grdp.go @@ -2,7 +2,7 @@ package rdp import ( "fmt" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp" ) func Check(ip, domain, login, password string, port int, protocol string) (bool, error) { diff --git a/pkg/hydra/redis/redis.go b/pkg/hydra/redis/redis.go index 83693173b..e20fef393 100644 --- a/pkg/hydra/redis/redis.go +++ b/pkg/hydra/redis/redis.go @@ -2,7 +2,7 @@ package redis import ( "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "net" "time" ) diff --git a/pkg/hydra/runner.go b/pkg/hydra/runner.go index ceddd1b43..d8683f575 100644 --- a/pkg/hydra/runner.go +++ b/pkg/hydra/runner.go @@ -3,7 +3,7 @@ package hydra import ( "encoding/json" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "github.com/logrusorgru/aurora" "log" "strconv" diff --git a/pkg/hydra/smb/smb.go b/pkg/hydra/smb/smb.go index e65211c8a..9bff8d8ed 100644 --- a/pkg/hydra/smb/smb.go +++ b/pkg/hydra/smb/smb.go @@ -3,7 +3,7 @@ package smb import ( "context" "errors" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "github.com/stacktitan/smb/smb" "time" ) diff --git a/pkg/hydra/svn/checksvn.go b/pkg/hydra/svn/checksvn.go index 37c9475cd..cf8eaaf83 100644 --- a/pkg/hydra/svn/checksvn.go +++ b/pkg/hydra/svn/checksvn.go @@ -2,7 +2,7 @@ package svn import ( "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func Check(Host, Username, Password string, Port int) (bool, error) { diff --git a/pkg/hydra/telnet/telnet.go b/pkg/hydra/telnet/telnet.go index 500b61c53..1842e3ca7 100644 --- a/pkg/hydra/telnet/telnet.go +++ b/pkg/hydra/telnet/telnet.go @@ -1,7 +1,7 @@ package telnet import ( - "github.com/hktalent/scan4all/pkg/kscan/lib/gotelnet" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/gotelnet" ) func Check(addr, username, password string, port, serverType int) (bool, error) { diff --git a/pkg/hydra/type-auth.go b/pkg/hydra/type-auth.go index 2d8f0e324..30d828d2c 100644 --- a/pkg/hydra/type-auth.go +++ b/pkg/hydra/type-auth.go @@ -1,7 +1,7 @@ package hydra import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pkg/hydra/type-authinfo.go b/pkg/hydra/type-authinfo.go index c8cf3712a..65d1da2c4 100644 --- a/pkg/hydra/type-authinfo.go +++ b/pkg/hydra/type-authinfo.go @@ -2,7 +2,7 @@ package hydra import ( "fmt" - "github.com/hktalent/scan4all/pkg/kscan/lib/color" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/color" ) type AuthInfo struct { diff --git a/pkg/hydra/type-authlist.go b/pkg/hydra/type-authlist.go index 0369067f6..ff429f33d 100644 --- a/pkg/hydra/type-authlist.go +++ b/pkg/hydra/type-authlist.go @@ -1,7 +1,7 @@ package hydra import ( - "github.com/hktalent/scan4all/pkg/kscan/lib/misc" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/misc" ) type AuthList struct { diff --git a/pkg/jndi/jndilog.go b/pkg/jndi/jndilog.go index 6ffc483cc..50c161087 100644 --- a/pkg/jndi/jndilog.go +++ b/pkg/jndi/jndilog.go @@ -2,7 +2,7 @@ package jndi import ( "encoding/hex" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) // jndi日志检查 diff --git a/pkg/jndi/server.go b/pkg/jndi/server.go index 6f804b33c..bb0c5a439 100644 --- a/pkg/jndi/server.go +++ b/pkg/jndi/server.go @@ -3,7 +3,7 @@ package jndi import ( "encoding/hex" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "net" "time" ) diff --git a/pkg/kscan/core/slog/slog.go b/pkg/kscan/core/slog/slog.go index 66e239f6f..b1f4afcee 100644 --- a/pkg/kscan/core/slog/slog.go +++ b/pkg/kscan/core/slog/slog.go @@ -2,8 +2,8 @@ package slog import ( "fmt" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/kscan/lib/color" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/color" "github.com/lcvvvv/gonmap/lib/chinese" "io" "io/ioutil" diff --git a/pkg/kscan/lib/gotelnet/telnet.go b/pkg/kscan/lib/gotelnet/telnet.go index 8155d70b8..bb9976f38 100644 --- a/pkg/kscan/lib/gotelnet/telnet.go +++ b/pkg/kscan/lib/gotelnet/telnet.go @@ -4,7 +4,7 @@ import ( "bytes" "errors" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "github.com/lcvvvv/gonmap/lib/chinese" "net" "regexp" diff --git a/pkg/kscan/lib/grdp/core/rle.go b/pkg/kscan/lib/grdp/core/rle.go index e6fe92f96..f7c583c72 100755 --- a/pkg/kscan/lib/grdp/core/rle.go +++ b/pkg/kscan/lib/grdp/core/rle.go @@ -1,7 +1,7 @@ package core import ( - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" "unsafe" ) diff --git a/pkg/kscan/lib/grdp/core/types.go b/pkg/kscan/lib/grdp/core/types.go index 36046bbf5..61f9dd020 100755 --- a/pkg/kscan/lib/grdp/core/types.go +++ b/pkg/kscan/lib/grdp/core/types.go @@ -1,6 +1,6 @@ package core -import "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/emission" +import "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/emission" type Transport interface { Read(b []byte) (n int, err error) diff --git a/pkg/kscan/lib/grdp/grdp.go b/pkg/kscan/lib/grdp/grdp.go index 29e340c18..f0e1d7fd6 100755 --- a/pkg/kscan/lib/grdp/grdp.go +++ b/pkg/kscan/lib/grdp/grdp.go @@ -9,15 +9,15 @@ import ( "sync" "time" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/nla" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/pdu" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/rfb" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/sec" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/t125" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/tpkt" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/x224" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/nla" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/pdu" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/rfb" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/sec" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/t125" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/tpkt" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/x224" ) const ( diff --git a/pkg/kscan/lib/grdp/grdp_test.go b/pkg/kscan/lib/grdp/grdp_test.go index 9429d7eb4..426255946 100644 --- a/pkg/kscan/lib/grdp/grdp_test.go +++ b/pkg/kscan/lib/grdp/grdp_test.go @@ -2,7 +2,7 @@ package grdp import ( "fmt" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" "testing" ) diff --git a/pkg/kscan/lib/grdp/protocol/lic/lic.go b/pkg/kscan/lib/grdp/protocol/lic/lic.go index 2d20abb08..07a6c8d41 100755 --- a/pkg/kscan/lib/grdp/protocol/lic/lic.go +++ b/pkg/kscan/lib/grdp/protocol/lic/lic.go @@ -3,7 +3,7 @@ package lic import ( "io" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" ) const ( diff --git a/pkg/kscan/lib/grdp/protocol/nla/cssp.go b/pkg/kscan/lib/grdp/protocol/nla/cssp.go index e0a8b5de7..c6ff882ef 100755 --- a/pkg/kscan/lib/grdp/protocol/nla/cssp.go +++ b/pkg/kscan/lib/grdp/protocol/nla/cssp.go @@ -3,7 +3,7 @@ package nla import ( "encoding/asn1" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" ) type NegoToken struct { diff --git a/pkg/kscan/lib/grdp/protocol/nla/encode.go b/pkg/kscan/lib/grdp/protocol/nla/encode.go index b506722b4..59b3ff651 100755 --- a/pkg/kscan/lib/grdp/protocol/nla/encode.go +++ b/pkg/kscan/lib/grdp/protocol/nla/encode.go @@ -6,7 +6,7 @@ import ( "crypto/rc4" "strings" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" "golang.org/x/crypto/md4" ) diff --git a/pkg/kscan/lib/grdp/protocol/nla/ntlm.go b/pkg/kscan/lib/grdp/protocol/nla/ntlm.go index b110ed989..646a37da0 100755 --- a/pkg/kscan/lib/grdp/protocol/nla/ntlm.go +++ b/pkg/kscan/lib/grdp/protocol/nla/ntlm.go @@ -8,8 +8,8 @@ import ( "encoding/hex" "time" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" "github.com/lunixbochs/struc" ) diff --git a/pkg/kscan/lib/grdp/protocol/pdu/caps.go b/pkg/kscan/lib/grdp/protocol/pdu/caps.go index 8c27f92e2..94813db76 100755 --- a/pkg/kscan/lib/grdp/protocol/pdu/caps.go +++ b/pkg/kscan/lib/grdp/protocol/pdu/caps.go @@ -7,10 +7,10 @@ import ( "fmt" "io" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/t125/gcc" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/t125/gcc" "github.com/lunixbochs/struc" ) diff --git a/pkg/kscan/lib/grdp/protocol/pdu/cliprdr.go b/pkg/kscan/lib/grdp/protocol/pdu/cliprdr.go index ea374d965..cdb5e71f2 100755 --- a/pkg/kscan/lib/grdp/protocol/pdu/cliprdr.go +++ b/pkg/kscan/lib/grdp/protocol/pdu/cliprdr.go @@ -3,8 +3,8 @@ package pdu import ( "bytes" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" ) /** diff --git a/pkg/kscan/lib/grdp/protocol/pdu/data.go b/pkg/kscan/lib/grdp/protocol/pdu/data.go index c9f37b469..0f20bf434 100755 --- a/pkg/kscan/lib/grdp/protocol/pdu/data.go +++ b/pkg/kscan/lib/grdp/protocol/pdu/data.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" "github.com/lunixbochs/struc" ) diff --git a/pkg/kscan/lib/grdp/protocol/pdu/pdu.go b/pkg/kscan/lib/grdp/protocol/pdu/pdu.go index aaca4995f..f35e1ea6a 100755 --- a/pkg/kscan/lib/grdp/protocol/pdu/pdu.go +++ b/pkg/kscan/lib/grdp/protocol/pdu/pdu.go @@ -6,10 +6,10 @@ import ( "errors" "fmt" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/emission" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/t125/gcc" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/emission" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/t125/gcc" ) type PDULayer struct { diff --git a/pkg/kscan/lib/grdp/protocol/rfb/rfb.go b/pkg/kscan/lib/grdp/protocol/rfb/rfb.go index 8a95c025d..a915a6f83 100755 --- a/pkg/kscan/lib/grdp/protocol/rfb/rfb.go +++ b/pkg/kscan/lib/grdp/protocol/rfb/rfb.go @@ -12,9 +12,9 @@ import ( "github.com/lunixbochs/struc" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/emission" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/emission" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" ) // ProtocolVersion diff --git a/pkg/kscan/lib/grdp/protocol/sec/sec.go b/pkg/kscan/lib/grdp/protocol/sec/sec.go index 9ffff797f..9df351670 100755 --- a/pkg/kscan/lib/grdp/protocol/sec/sec.go +++ b/pkg/kscan/lib/grdp/protocol/sec/sec.go @@ -14,14 +14,14 @@ import ( "github.com/lunixbochs/struc" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/nla" - - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/emission" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/lic" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/t125" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/t125/gcc" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/nla" + + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/emission" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/lic" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/t125" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/t125/gcc" ) /** diff --git a/pkg/kscan/lib/grdp/protocol/t125/ber/ber.go b/pkg/kscan/lib/grdp/protocol/t125/ber/ber.go index f01a06b53..abfec34a8 100755 --- a/pkg/kscan/lib/grdp/protocol/t125/ber/ber.go +++ b/pkg/kscan/lib/grdp/protocol/t125/ber/ber.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" ) const ( diff --git a/pkg/kscan/lib/grdp/protocol/t125/gcc/gcc.go b/pkg/kscan/lib/grdp/protocol/t125/gcc/gcc.go index cc44430d6..acb4768ea 100755 --- a/pkg/kscan/lib/grdp/protocol/t125/gcc/gcc.go +++ b/pkg/kscan/lib/grdp/protocol/t125/gcc/gcc.go @@ -6,10 +6,10 @@ import ( "io" "os" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/t125/per" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/t125/per" "github.com/lunixbochs/struc" ) diff --git a/pkg/kscan/lib/grdp/protocol/t125/mcs.go b/pkg/kscan/lib/grdp/protocol/t125/mcs.go index 55a83fa04..30c5b9437 100755 --- a/pkg/kscan/lib/grdp/protocol/t125/mcs.go +++ b/pkg/kscan/lib/grdp/protocol/t125/mcs.go @@ -8,12 +8,12 @@ import ( "io" "reflect" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/emission" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/t125/ber" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/t125/gcc" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/t125/per" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/emission" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/t125/ber" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/t125/gcc" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/t125/per" ) // take idea from /~https://github.com/Madnikulin50/gordp diff --git a/pkg/kscan/lib/grdp/protocol/t125/per/per.go b/pkg/kscan/lib/grdp/protocol/t125/per/per.go index 85fabba8c..f0a294864 100755 --- a/pkg/kscan/lib/grdp/protocol/t125/per/per.go +++ b/pkg/kscan/lib/grdp/protocol/t125/per/per.go @@ -4,9 +4,9 @@ import ( "bytes" "io" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" ) func ReadEnumerates(r io.Reader) (uint8, error) { diff --git a/pkg/kscan/lib/grdp/protocol/tpkt/tpkt.go b/pkg/kscan/lib/grdp/protocol/tpkt/tpkt.go index d69c8e9ee..d3cca7913 100755 --- a/pkg/kscan/lib/grdp/protocol/tpkt/tpkt.go +++ b/pkg/kscan/lib/grdp/protocol/tpkt/tpkt.go @@ -5,10 +5,10 @@ import ( "encoding/hex" "fmt" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/emission" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/nla" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/emission" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/nla" ) // take idea from /~https://github.com/Madnikulin50/gordp diff --git a/pkg/kscan/lib/grdp/protocol/x224/x224.go b/pkg/kscan/lib/grdp/protocol/x224/x224.go index 04dd13f9b..1d4699904 100755 --- a/pkg/kscan/lib/grdp/protocol/x224/x224.go +++ b/pkg/kscan/lib/grdp/protocol/x224/x224.go @@ -6,11 +6,11 @@ import ( "errors" "fmt" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/glog" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/glog" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/core" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/emission" - "github.com/hktalent/scan4all/pkg/kscan/lib/grdp/protocol/tpkt" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/core" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/emission" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/grdp/protocol/tpkt" "github.com/lunixbochs/struc" ) diff --git a/pkg/kscan/lib/pool/pool.go b/pkg/kscan/lib/pool/pool.go index a7547c3ae..edaf837d1 100644 --- a/pkg/kscan/lib/pool/pool.go +++ b/pkg/kscan/lib/pool/pool.go @@ -3,9 +3,9 @@ package pool import ( "errors" "fmt" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/kscan/lib/misc" - "github.com/hktalent/scan4all/pkg/kscan/lib/smap" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/misc" + "github.com/hktalent/ProScan4all/pkg/kscan/lib/smap" "io" "log" "sync" diff --git a/pkg/ksubdomain/ksbdomain.go b/pkg/ksubdomain/ksbdomain.go index c68b660a1..820012753 100644 --- a/pkg/ksubdomain/ksbdomain.go +++ b/pkg/ksubdomain/ksbdomain.go @@ -3,7 +3,7 @@ package ksubdomain import ( "github.com/boy-hack/ksubdomain/core/conf" "github.com/boy-hack/ksubdomain/core/gologger" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" cli "github.com/urfave/cli/v2" "os" "regexp" diff --git a/pkg/naabu/v2/pkg/runner/options.go b/pkg/naabu/v2/pkg/runner/options.go index aa46f5a04..0e6fbf7c6 100644 --- a/pkg/naabu/v2/pkg/runner/options.go +++ b/pkg/naabu/v2/pkg/runner/options.go @@ -2,9 +2,9 @@ package runner import ( "fmt" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/naabu/v2/pkg/privileges" - "github.com/hktalent/scan4all/pkg/naabu/v2/pkg/scan" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/naabu/v2/pkg/privileges" + "github.com/hktalent/ProScan4all/pkg/naabu/v2/pkg/scan" "net" "os" "runtime" diff --git a/pkg/naabu/v2/pkg/runner/runner.go b/pkg/naabu/v2/pkg/runner/runner.go index f96abfe14..41c51cd2c 100644 --- a/pkg/naabu/v2/pkg/runner/runner.go +++ b/pkg/naabu/v2/pkg/runner/runner.go @@ -5,11 +5,11 @@ import ( "encoding/csv" "encoding/json" "fmt" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/fingerprint" - "github.com/hktalent/scan4all/projectdiscovery/nuclei_Yaml" - runner2 "github.com/hktalent/scan4all/projectdiscovery/nuclei_Yaml/nclruner/runner" - "github.com/hktalent/scan4all/webScan" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/fingerprint" + "github.com/hktalent/ProScan4all/projectdiscovery/nuclei_Yaml" + runner2 "github.com/hktalent/ProScan4all/projectdiscovery/nuclei_Yaml/nclruner/runner" + "github.com/hktalent/ProScan4all/webScan" "github.com/projectdiscovery/fileutil" "github.com/projectdiscovery/retryablehttp-go" "log" @@ -22,10 +22,10 @@ import ( "sync" "time" - httpxrunner "github.com/hktalent/scan4all/pkg/httpx/runner" + httpxrunner "github.com/hktalent/ProScan4all/pkg/httpx/runner" - "github.com/hktalent/scan4all/pkg/naabu/v2/pkg/privileges" - "github.com/hktalent/scan4all/pkg/naabu/v2/pkg/scan" + "github.com/hktalent/ProScan4all/pkg/naabu/v2/pkg/privileges" + "github.com/hktalent/ProScan4all/pkg/naabu/v2/pkg/scan" "github.com/pkg/errors" "github.com/projectdiscovery/blackrock" "github.com/projectdiscovery/clistats" diff --git a/pkg/naabu/v2/pkg/runner/targets.go b/pkg/naabu/v2/pkg/runner/targets.go index 0bb182f92..6d24cc2b0 100644 --- a/pkg/naabu/v2/pkg/runner/targets.go +++ b/pkg/naabu/v2/pkg/runner/targets.go @@ -5,11 +5,11 @@ import ( "flag" "fmt" "github.com/asaskevich/govalidator" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg" - "github.com/hktalent/scan4all/pkg/hydra" - "github.com/hktalent/scan4all/pkg/naabu/v2/pkg/privileges" - "github.com/hktalent/scan4all/pkg/naabu/v2/pkg/scan" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg" + "github.com/hktalent/ProScan4all/pkg/hydra" + "github.com/hktalent/ProScan4all/pkg/naabu/v2/pkg/privileges" + "github.com/hktalent/ProScan4all/pkg/naabu/v2/pkg/scan" "github.com/projectdiscovery/gologger" "github.com/projectdiscovery/ipranger" "github.com/projectdiscovery/iputil" diff --git a/pkg/naabu/v2/pkg/runner/validate.go b/pkg/naabu/v2/pkg/runner/validate.go index 17e450f52..4d0fe0610 100644 --- a/pkg/naabu/v2/pkg/runner/validate.go +++ b/pkg/naabu/v2/pkg/runner/validate.go @@ -6,7 +6,7 @@ import ( "net" "strings" - "github.com/hktalent/scan4all/pkg/naabu/v2/pkg/privileges" + "github.com/hktalent/ProScan4all/pkg/naabu/v2/pkg/privileges" "github.com/pkg/errors" "github.com/projectdiscovery/fileutil" diff --git a/pkg/naabu/v2/pkg/scan/scan.go b/pkg/naabu/v2/pkg/scan/scan.go index 5c47bcdbb..1fe1d5aa5 100644 --- a/pkg/naabu/v2/pkg/scan/scan.go +++ b/pkg/naabu/v2/pkg/scan/scan.go @@ -9,8 +9,8 @@ import ( "github.com/google/gopacket" "github.com/google/gopacket/layers" - "github.com/hktalent/scan4all/pkg/naabu/v2/pkg/privileges" - "github.com/hktalent/scan4all/pkg/naabu/v2/pkg/result" + "github.com/hktalent/ProScan4all/pkg/naabu/v2/pkg/privileges" + "github.com/hktalent/ProScan4all/pkg/naabu/v2/pkg/result" "github.com/phayes/freeport" "github.com/projectdiscovery/cdncheck" "github.com/projectdiscovery/gologger" diff --git a/pkg/portScan/masscan.go b/pkg/portScan/masscan.go index 7dcea0a6e..d9c2aef26 100644 --- a/pkg/portScan/masscan.go +++ b/pkg/portScan/masscan.go @@ -4,8 +4,8 @@ import ( "bytes" "encoding/xml" _ "github.com/codegangsta/inject" + "github.com/hktalent/ProScan4all/lib/util" "github.com/hktalent/goSqlite_gorm/pkg/models" - "github.com/hktalent/scan4all/lib/util" "io" "log" "os/exec" diff --git a/pkg/portScan/masscanTarget.go b/pkg/portScan/masscanTarget.go index c82da491d..0b2b96e18 100644 --- a/pkg/portScan/masscanTarget.go +++ b/pkg/portScan/masscanTarget.go @@ -1,9 +1,9 @@ package portScan import ( + "github.com/hktalent/ProScan4all/lib/util" "github.com/hktalent/goSqlite_gorm/lib/scan/Const" "github.com/hktalent/goSqlite_gorm/pkg/models" - "github.com/hktalent/scan4all/lib/util" "log" "strings" ) diff --git a/pkg/portScan/nmapScan.go b/pkg/portScan/nmapScan.go index a58c0eece..96cbd1518 100644 --- a/pkg/portScan/nmapScan.go +++ b/pkg/portScan/nmapScan.go @@ -3,9 +3,9 @@ package portScan import ( "context" "github.com/Ullaakut/nmap" + "github.com/hktalent/ProScan4all/lib/util" "github.com/hktalent/goSqlite_gorm/lib/scan/Const" "github.com/hktalent/goSqlite_gorm/pkg/models" - "github.com/hktalent/scan4all/lib/util" "io" "log" "time" diff --git a/pkg/portScan/test/test.go b/pkg/portScan/test/test.go index 3754fb414..5346deb92 100644 --- a/pkg/portScan/test/test.go +++ b/pkg/portScan/test/test.go @@ -1,11 +1,11 @@ package main import ( + "github.com/hktalent/ProScan4all/engine" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/portScan" "github.com/hktalent/goSqlite_gorm/lib" "github.com/hktalent/goSqlite_gorm/lib/scan/Const" - "github.com/hktalent/scan4all/engine" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/portScan" "net/http" "time" ) diff --git a/pkg/portScan/testnmanp/test.go b/pkg/portScan/testnmanp/test.go index d479303f9..06d581c90 100644 --- a/pkg/portScan/testnmanp/test.go +++ b/pkg/portScan/testnmanp/test.go @@ -1,7 +1,7 @@ package main import ( - "github.com/hktalent/scan4all/pkg/portScan" + "github.com/hktalent/ProScan4all/pkg/portScan" "log" "strings" ) diff --git a/pocs_go/Springboot/CVE-2022-22947.go b/pocs_go/Springboot/CVE-2022-22947.go index 53cbc096c..4af6a315b 100644 --- a/pocs_go/Springboot/CVE-2022-22947.go +++ b/pocs_go/Springboot/CVE-2022-22947.go @@ -1,7 +1,7 @@ package Springboot import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pocs_go/Springboot/CVE-2022-22965.go b/pocs_go/Springboot/CVE-2022-22965.go index eda153139..55aaf7d93 100644 --- a/pocs_go/Springboot/CVE-2022-22965.go +++ b/pocs_go/Springboot/CVE-2022-22965.go @@ -1,7 +1,7 @@ package Springboot import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2022_22965(u string) bool { diff --git a/pocs_go/ThinkPHP/check.go b/pocs_go/ThinkPHP/check.go index 68a114bad..5c034389d 100644 --- a/pocs_go/ThinkPHP/check.go +++ b/pocs_go/ThinkPHP/check.go @@ -1,7 +1,7 @@ package ThinkPHP import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func RCE(u string) bool { diff --git a/pocs_go/VMware/vCenter/CVE_2021_21985.go b/pocs_go/VMware/vCenter/CVE_2021_21985.go index 85ce97073..422986d5c 100644 --- a/pocs_go/VMware/vCenter/CVE_2021_21985.go +++ b/pocs_go/VMware/vCenter/CVE_2021_21985.go @@ -2,7 +2,7 @@ package vCenter import ( "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "io" "net/http" "net/url" diff --git a/pocs_go/VMware/vCenter/c_21972.go b/pocs_go/VMware/vCenter/c_21972.go index 713e04700..b7202a1a1 100644 --- a/pocs_go/VMware/vCenter/c_21972.go +++ b/pocs_go/VMware/vCenter/c_21972.go @@ -5,7 +5,7 @@ import ( "bytes" "fmt" "github.com/hktalent/PipelineHttp" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "io" "log" "net/http" diff --git a/pocs_go/VMware/vCenter/c_21985.go b/pocs_go/VMware/vCenter/c_21985.go index b7362cdc6..8a29b7308 100644 --- a/pocs_go/VMware/vCenter/c_21985.go +++ b/pocs_go/VMware/vCenter/c_21985.go @@ -4,7 +4,7 @@ import ( "archive/zip" "bytes" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "io" "log" "net/http" diff --git a/pocs_go/VMware/vCenter/c_22005.go b/pocs_go/VMware/vCenter/c_22005.go index d63a3809f..fb7e57080 100644 --- a/pocs_go/VMware/vCenter/c_22005.go +++ b/pocs_go/VMware/vCenter/c_22005.go @@ -2,7 +2,7 @@ package vCenter import ( "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "io" "net/http" "strings" diff --git a/pocs_go/apache/poc-go-zookeeper-unauth.go b/pocs_go/apache/poc-go-zookeeper-unauth.go index 132817d3e..d8e5b8df5 100644 --- a/pocs_go/apache/poc-go-zookeeper-unauth.go +++ b/pocs_go/apache/poc-go-zookeeper-unauth.go @@ -1,7 +1,7 @@ package apache import ( - "github.com/hktalent/scan4all/lib/socket" + "github.com/hktalent/ProScan4all/lib/socket" "strings" ) diff --git a/pocs_go/confluence/CVE-2021-26085.go b/pocs_go/confluence/CVE-2021-26085.go index 53c3757f1..f9447d2bb 100644 --- a/pocs_go/confluence/CVE-2021-26085.go +++ b/pocs_go/confluence/CVE-2021-26085.go @@ -1,7 +1,7 @@ package confluence import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2021_26085(u string) bool { diff --git a/pocs_go/confluence/CVE_2021_26084.go b/pocs_go/confluence/CVE_2021_26084.go index 0c866d013..98f3b4352 100644 --- a/pocs_go/confluence/CVE_2021_26084.go +++ b/pocs_go/confluence/CVE_2021_26084.go @@ -1,7 +1,7 @@ package confluence import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pocs_go/confluence/CVE_2022_26134.go b/pocs_go/confluence/CVE_2022_26134.go index 83e077250..609d66c91 100644 --- a/pocs_go/confluence/CVE_2022_26134.go +++ b/pocs_go/confluence/CVE_2022_26134.go @@ -1,7 +1,7 @@ package confluence import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) //var beichen26134 = "${#a=new javax.script.ScriptEngineManager().getEngineByName(\"js\").eval(@com.opensymphony.webwork.ServletActionContext@getRequest().getParameter(\"search\")).(@com.opensymphony.webwork.ServletActionContext@getResponse().setHeader(\"X-Status\",\"ok\"))}" diff --git a/pocs_go/confluence/CVE_2022_26318.go b/pocs_go/confluence/CVE_2022_26318.go index e55d5f1e1..f9dd3410b 100644 --- a/pocs_go/confluence/CVE_2022_26318.go +++ b/pocs_go/confluence/CVE_2022_26318.go @@ -1,7 +1,7 @@ package confluence import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) //author:penson 硬编码添加用户 diff --git a/pocs_go/f5/CVE_2020_5902.go b/pocs_go/f5/CVE_2020_5902.go index 10ded653b..9bd320968 100644 --- a/pocs_go/f5/CVE_2020_5902.go +++ b/pocs_go/f5/CVE_2020_5902.go @@ -1,7 +1,7 @@ package f5 import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2020_5902(u string) bool { diff --git a/pocs_go/f5/CVE_2021_22986.go b/pocs_go/f5/CVE_2021_22986.go index cbf823e9f..73ff2a866 100644 --- a/pocs_go/f5/CVE_2021_22986.go +++ b/pocs_go/f5/CVE_2021_22986.go @@ -1,7 +1,7 @@ package f5 import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2021_22986(u string) bool { diff --git a/pocs_go/f5/CVE_2022_1388.go b/pocs_go/f5/CVE_2022_1388.go index 06a0468ba..6c0cd73a9 100644 --- a/pocs_go/f5/CVE_2022_1388.go +++ b/pocs_go/f5/CVE_2022_1388.go @@ -1,7 +1,7 @@ package f5 import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2022_1388(u string) bool { diff --git a/pocs_go/fastjson/check.go b/pocs_go/fastjson/check.go index 316564c70..de607dfda 100644 --- a/pocs_go/fastjson/check.go +++ b/pocs_go/fastjson/check.go @@ -2,8 +2,8 @@ package fastjson import ( "fmt" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/jndi" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/jndi" "net/url" "regexp" "strings" diff --git a/pocs_go/gitlab/CVE_2021_22205.go b/pocs_go/gitlab/CVE_2021_22205.go index 0d307043e..71a731499 100644 --- a/pocs_go/gitlab/CVE_2021_22205.go +++ b/pocs_go/gitlab/CVE_2021_22205.go @@ -2,7 +2,7 @@ package gitlab import ( "bytes" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "mime/multipart" "net/textproto" "regexp" diff --git a/pocs_go/go_poc_check.go b/pocs_go/go_poc_check.go index 9353b3c6d..c0884619f 100644 --- a/pocs_go/go_poc_check.go +++ b/pocs_go/go_poc_check.go @@ -2,36 +2,36 @@ package pocs_go import ( "fmt" + "github.com/hktalent/ProScan4all/brute" + "github.com/hktalent/ProScan4all/lib/Smuggling" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/fingerprint" + "github.com/hktalent/ProScan4all/pocs_go/Springboot" + "github.com/hktalent/ProScan4all/pocs_go/ThinkPHP" + "github.com/hktalent/ProScan4all/pocs_go/VMware/vCenter" + "github.com/hktalent/ProScan4all/pocs_go/apache" + "github.com/hktalent/ProScan4all/pocs_go/confluence" + "github.com/hktalent/ProScan4all/pocs_go/f5" + "github.com/hktalent/ProScan4all/pocs_go/fastjson" + "github.com/hktalent/ProScan4all/pocs_go/gitlab" + "github.com/hktalent/ProScan4all/pocs_go/jboss" + "github.com/hktalent/ProScan4all/pocs_go/jenkins" + "github.com/hktalent/ProScan4all/pocs_go/landray" + "github.com/hktalent/ProScan4all/pocs_go/log4j" + "github.com/hktalent/ProScan4all/pocs_go/mcms" + "github.com/hktalent/ProScan4all/pocs_go/ms" + "github.com/hktalent/ProScan4all/pocs_go/phpunit" + "github.com/hktalent/ProScan4all/pocs_go/seeyon" + "github.com/hktalent/ProScan4all/pocs_go/shiro" + "github.com/hktalent/ProScan4all/pocs_go/spark" + "github.com/hktalent/ProScan4all/pocs_go/sunlogin" + "github.com/hktalent/ProScan4all/pocs_go/tomcat" + "github.com/hktalent/ProScan4all/pocs_go/tongda" + "github.com/hktalent/ProScan4all/pocs_go/weblogic" + "github.com/hktalent/ProScan4all/pocs_go/zabbix" + "github.com/hktalent/ProScan4all/pocs_go/zentao" "github.com/hktalent/goSqlite_gorm/lib/scan/Const" "github.com/hktalent/goSqlite_gorm/pkg/models" - "github.com/hktalent/scan4all/brute" - "github.com/hktalent/scan4all/lib/Smuggling" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/fingerprint" - "github.com/hktalent/scan4all/pocs_go/Springboot" - "github.com/hktalent/scan4all/pocs_go/ThinkPHP" - "github.com/hktalent/scan4all/pocs_go/VMware/vCenter" - "github.com/hktalent/scan4all/pocs_go/apache" - "github.com/hktalent/scan4all/pocs_go/confluence" - "github.com/hktalent/scan4all/pocs_go/f5" - "github.com/hktalent/scan4all/pocs_go/fastjson" - "github.com/hktalent/scan4all/pocs_go/gitlab" - "github.com/hktalent/scan4all/pocs_go/jboss" - "github.com/hktalent/scan4all/pocs_go/jenkins" - "github.com/hktalent/scan4all/pocs_go/landray" - "github.com/hktalent/scan4all/pocs_go/log4j" - "github.com/hktalent/scan4all/pocs_go/mcms" - "github.com/hktalent/scan4all/pocs_go/ms" - "github.com/hktalent/scan4all/pocs_go/phpunit" - "github.com/hktalent/scan4all/pocs_go/seeyon" - "github.com/hktalent/scan4all/pocs_go/shiro" - "github.com/hktalent/scan4all/pocs_go/spark" - "github.com/hktalent/scan4all/pocs_go/sunlogin" - "github.com/hktalent/scan4all/pocs_go/tomcat" - "github.com/hktalent/scan4all/pocs_go/tongda" - "github.com/hktalent/scan4all/pocs_go/weblogic" - "github.com/hktalent/scan4all/pocs_go/zabbix" - "github.com/hktalent/scan4all/pocs_go/zentao" "log" "net/url" "strconv" diff --git a/pocs_go/jboss/CVE_2017_12149.go b/pocs_go/jboss/CVE_2017_12149.go index 15be31530..3b1c466e3 100644 --- a/pocs_go/jboss/CVE_2017_12149.go +++ b/pocs_go/jboss/CVE_2017_12149.go @@ -1,7 +1,7 @@ package jboss import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2017_12149(url string) bool { diff --git a/pocs_go/jenkins/CVE_2018_1000110.go b/pocs_go/jenkins/CVE_2018_1000110.go index 72cc599f4..f25d11f4a 100644 --- a/pocs_go/jenkins/CVE_2018_1000110.go +++ b/pocs_go/jenkins/CVE_2018_1000110.go @@ -1,7 +1,7 @@ package jenkins import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2018_1000110(u string) bool { diff --git a/pocs_go/jenkins/CVE_2018_1000861.go b/pocs_go/jenkins/CVE_2018_1000861.go index 94de05e6d..384729728 100644 --- a/pocs_go/jenkins/CVE_2018_1000861.go +++ b/pocs_go/jenkins/CVE_2018_1000861.go @@ -1,7 +1,7 @@ package jenkins import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2018_1000861(u string) bool { diff --git a/pocs_go/jenkins/CVE_2019_1003000.go b/pocs_go/jenkins/CVE_2019_1003000.go index 7c177276b..61dd9e733 100644 --- a/pocs_go/jenkins/CVE_2019_1003000.go +++ b/pocs_go/jenkins/CVE_2019_1003000.go @@ -1,7 +1,7 @@ package jenkins import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2019_10003000(u string) bool { diff --git a/pocs_go/jenkins/Unauthorized.go b/pocs_go/jenkins/Unauthorized.go index ae636e900..90d18a4d7 100644 --- a/pocs_go/jenkins/Unauthorized.go +++ b/pocs_go/jenkins/Unauthorized.go @@ -1,7 +1,7 @@ package jenkins import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func Unauthorized(u string) bool { diff --git a/pocs_go/landray/Landray_RCE.go b/pocs_go/landray/Landray_RCE.go index 2b7006c26..7473af1ec 100644 --- a/pocs_go/landray/Landray_RCE.go +++ b/pocs_go/landray/Landray_RCE.go @@ -1,7 +1,7 @@ package landray import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pocs_go/log4j/check.go b/pocs_go/log4j/check.go index fe4ff6e55..6a5ac3be7 100644 --- a/pocs_go/log4j/check.go +++ b/pocs_go/log4j/check.go @@ -1,8 +1,8 @@ package log4j import ( - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/jndi" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/jndi" "net/url" "regexp" "strings" diff --git a/pocs_go/mcms/Front_Desk_sqlinject.go b/pocs_go/mcms/Front_Desk_sqlinject.go index 93c909508..3a805c584 100644 --- a/pocs_go/mcms/Front_Desk_sqlinject.go +++ b/pocs_go/mcms/Front_Desk_sqlinject.go @@ -2,7 +2,7 @@ package mcms import ( "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pocs_go/ms/ms17010.go b/pocs_go/ms/ms17010.go index 300789b60..533c79b06 100644 --- a/pocs_go/ms/ms17010.go +++ b/pocs_go/ms/ms17010.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "encoding/hex" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "log" "net" "strings" diff --git a/pocs_go/phpunit/CVE_2017_9841.go b/pocs_go/phpunit/CVE_2017_9841.go index 8bc3e422c..5f6bd4fef 100644 --- a/pocs_go/phpunit/CVE_2017_9841.go +++ b/pocs_go/phpunit/CVE_2017_9841.go @@ -1,7 +1,7 @@ package phpunit import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2017_9841(url string) bool { diff --git a/pocs_go/seeyon/BackdoorScan.go b/pocs_go/seeyon/BackdoorScan.go index e09dbca13..39e42e7ee 100644 --- a/pocs_go/seeyon/BackdoorScan.go +++ b/pocs_go/seeyon/BackdoorScan.go @@ -1,7 +1,7 @@ package seeyon import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pocs_go/seeyon/CNVD_2019_19299.go b/pocs_go/seeyon/CNVD_2019_19299.go index 85f070f09..0deac42f0 100644 --- a/pocs_go/seeyon/CNVD_2019_19299.go +++ b/pocs_go/seeyon/CNVD_2019_19299.go @@ -2,7 +2,7 @@ package seeyon import ( "encoding/base64" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) //A8 htmlofficeservlet RCE漏洞 diff --git a/pocs_go/seeyon/CNVD_2020_62422.go b/pocs_go/seeyon/CNVD_2020_62422.go index f6c8c3d12..77453db02 100644 --- a/pocs_go/seeyon/CNVD_2020_62422.go +++ b/pocs_go/seeyon/CNVD_2020_62422.go @@ -1,7 +1,7 @@ package seeyon import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) //webmail.do任意文件下载 diff --git a/pocs_go/seeyon/CNVD_2021_01627.go b/pocs_go/seeyon/CNVD_2021_01627.go index 7982c6b86..46087b8d2 100644 --- a/pocs_go/seeyon/CNVD_2021_01627.go +++ b/pocs_go/seeyon/CNVD_2021_01627.go @@ -1,7 +1,7 @@ package seeyon import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) //ajax.do登录绕过&任意文件上传 diff --git a/pocs_go/seeyon/CreateMysql.go b/pocs_go/seeyon/CreateMysql.go index 5ce76941e..4c1954cd9 100644 --- a/pocs_go/seeyon/CreateMysql.go +++ b/pocs_go/seeyon/CreateMysql.go @@ -1,7 +1,7 @@ package seeyon import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) //createMysql.jsp 数据库敏感信息泄 diff --git a/pocs_go/seeyon/DownExcelBeanServlet.go b/pocs_go/seeyon/DownExcelBeanServlet.go index fb5328ad7..2777c9d53 100644 --- a/pocs_go/seeyon/DownExcelBeanServlet.go +++ b/pocs_go/seeyon/DownExcelBeanServlet.go @@ -1,7 +1,7 @@ package seeyon import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) //DownExcelBeanServlet 用户敏感信息泄露 diff --git a/pocs_go/seeyon/GetSessionList.go b/pocs_go/seeyon/GetSessionList.go index 08738b3a0..659f1ce7e 100644 --- a/pocs_go/seeyon/GetSessionList.go +++ b/pocs_go/seeyon/GetSessionList.go @@ -1,7 +1,7 @@ package seeyon import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) //getSessionList.jsp session 泄露 diff --git a/pocs_go/seeyon/InitDataAssess.go b/pocs_go/seeyon/InitDataAssess.go index b1dbe684a..57ab60d87 100644 --- a/pocs_go/seeyon/InitDataAssess.go +++ b/pocs_go/seeyon/InitDataAssess.go @@ -1,7 +1,7 @@ package seeyon import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) //initDataAssess.jsp 用户敏感信息泄露 diff --git a/pocs_go/seeyon/ManagementStatus.go b/pocs_go/seeyon/ManagementStatus.go index 4138066c9..0813a5b21 100644 --- a/pocs_go/seeyon/ManagementStatus.go +++ b/pocs_go/seeyon/ManagementStatus.go @@ -1,7 +1,7 @@ package seeyon import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) //A8 状态监控页面信息泄露 diff --git a/pocs_go/seeyon/SeeyonFastjson.go b/pocs_go/seeyon/SeeyonFastjson.go index 1896d668f..7204a09c3 100644 --- a/pocs_go/seeyon/SeeyonFastjson.go +++ b/pocs_go/seeyon/SeeyonFastjson.go @@ -1,7 +1,7 @@ package seeyon import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func SeeyonFastjson(u string) bool { diff --git a/pocs_go/seeyon/SessionUpload.go b/pocs_go/seeyon/SessionUpload.go index 44e8f446f..30af4f266 100644 --- a/pocs_go/seeyon/SessionUpload.go +++ b/pocs_go/seeyon/SessionUpload.go @@ -2,7 +2,7 @@ package seeyon import ( "bytes" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "mime/multipart" "net/textproto" "regexp" diff --git a/pocs_go/shiro/CVE_2016_4437.go b/pocs_go/shiro/CVE_2016_4437.go index 4935b95ce..6a9dd6640 100644 --- a/pocs_go/shiro/CVE_2016_4437.go +++ b/pocs_go/shiro/CVE_2016_4437.go @@ -7,7 +7,7 @@ import ( "crypto/rand" _ "embed" "encoding/base64" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" uuid "github.com/satori/go.uuid" "io" "log" diff --git a/pocs_go/spark/CVE_2022_33891.go b/pocs_go/spark/CVE_2022_33891.go index 4887f2cf8..270bc53d5 100644 --- a/pocs_go/spark/CVE_2022_33891.go +++ b/pocs_go/spark/CVE_2022_33891.go @@ -2,7 +2,7 @@ package spark import ( "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "time" ) diff --git a/pocs_go/sunlogin/RCE.go b/pocs_go/sunlogin/RCE.go index ea2947ee4..1738db471 100644 --- a/pocs_go/sunlogin/RCE.go +++ b/pocs_go/sunlogin/RCE.go @@ -3,7 +3,7 @@ package sunlogin import ( "encoding/json" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) type res struct { diff --git a/pocs_go/tomcat/CVE_2017_12615.go b/pocs_go/tomcat/CVE_2017_12615.go index b5070a1e3..7e144ae7a 100644 --- a/pocs_go/tomcat/CVE_2017_12615.go +++ b/pocs_go/tomcat/CVE_2017_12615.go @@ -1,7 +1,7 @@ package tomcat import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2017_12615(url string) bool { diff --git a/pocs_go/tomcat/CVE_2020_1938.go b/pocs_go/tomcat/CVE_2020_1938.go index 5bcabe53b..8b26feea2 100644 --- a/pocs_go/tomcat/CVE_2020_1938.go +++ b/pocs_go/tomcat/CVE_2020_1938.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/binary" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "net" "regexp" "strings" diff --git a/pocs_go/tongda/api_ali_php_any_fileUpload.go b/pocs_go/tongda/api_ali_php_any_fileUpload.go index f903a4da0..10071a639 100644 --- a/pocs_go/tongda/api_ali_php_any_fileUpload.go +++ b/pocs_go/tongda/api_ali_php_any_fileUpload.go @@ -1,7 +1,7 @@ package tongda import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) //version 通达 OA V11.8 api.ali.php 任意文件上传 diff --git a/pocs_go/tongda/file_delete.go b/pocs_go/tongda/file_delete.go index 83ad668cc..984c01176 100644 --- a/pocs_go/tongda/file_delete.go +++ b/pocs_go/tongda/file_delete.go @@ -1,7 +1,7 @@ package tongda import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pocs_go/tongda/get_user_session.go b/pocs_go/tongda/get_user_session.go index 115170571..dbcd51e2a 100644 --- a/pocs_go/tongda/get_user_session.go +++ b/pocs_go/tongda/get_user_session.go @@ -1,7 +1,7 @@ package tongda import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "regexp" ) diff --git a/pocs_go/weblogic/CVE_2014_4210.go b/pocs_go/weblogic/CVE_2014_4210.go index 9715807e6..08b6745bd 100755 --- a/pocs_go/weblogic/CVE_2014_4210.go +++ b/pocs_go/weblogic/CVE_2014_4210.go @@ -1,7 +1,7 @@ package weblogic import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2014_4210(url string) bool { diff --git a/pocs_go/weblogic/CVE_2017_10271.go b/pocs_go/weblogic/CVE_2017_10271.go index 12f768031..1cedfc737 100644 --- a/pocs_go/weblogic/CVE_2017_10271.go +++ b/pocs_go/weblogic/CVE_2017_10271.go @@ -1,7 +1,7 @@ package weblogic import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pocs_go/weblogic/CVE_2017_3506.go b/pocs_go/weblogic/CVE_2017_3506.go index e22bdc44a..56fc09acb 100644 --- a/pocs_go/weblogic/CVE_2017_3506.go +++ b/pocs_go/weblogic/CVE_2017_3506.go @@ -1,7 +1,7 @@ package weblogic import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pocs_go/weblogic/CVE_2018_2894.go b/pocs_go/weblogic/CVE_2018_2894.go index dcd571b76..694af73ec 100644 --- a/pocs_go/weblogic/CVE_2018_2894.go +++ b/pocs_go/weblogic/CVE_2018_2894.go @@ -1,7 +1,7 @@ package weblogic import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2018_2894(url string) bool { diff --git a/pocs_go/weblogic/CVE_2019_2725.go b/pocs_go/weblogic/CVE_2019_2725.go index 34c14ee77..ed02d57cf 100644 --- a/pocs_go/weblogic/CVE_2019_2725.go +++ b/pocs_go/weblogic/CVE_2019_2725.go @@ -1,7 +1,7 @@ package weblogic import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pocs_go/weblogic/CVE_2019_2729.go b/pocs_go/weblogic/CVE_2019_2729.go index a82be60e2..cc117fe63 100644 --- a/pocs_go/weblogic/CVE_2019_2729.go +++ b/pocs_go/weblogic/CVE_2019_2729.go @@ -1,7 +1,7 @@ package weblogic import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pocs_go/weblogic/CVE_2020_14882.go b/pocs_go/weblogic/CVE_2020_14882.go index 1e326831a..a31efbc1a 100644 --- a/pocs_go/weblogic/CVE_2020_14882.go +++ b/pocs_go/weblogic/CVE_2020_14882.go @@ -1,7 +1,7 @@ package weblogic import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2020_14882(url string) bool { diff --git a/pocs_go/weblogic/CVE_2020_14883.go b/pocs_go/weblogic/CVE_2020_14883.go index e12e6292b..2cbf87ea8 100644 --- a/pocs_go/weblogic/CVE_2020_14883.go +++ b/pocs_go/weblogic/CVE_2020_14883.go @@ -1,7 +1,7 @@ package weblogic import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2020_14883(url string) bool { diff --git a/pocs_go/weblogic/CVE_2020_2883.go b/pocs_go/weblogic/CVE_2020_2883.go index ae303d9ea..ee8f6976e 100644 --- a/pocs_go/weblogic/CVE_2020_2883.go +++ b/pocs_go/weblogic/CVE_2020_2883.go @@ -3,7 +3,7 @@ package weblogic import ( "encoding/hex" "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "net" "net/url" "regexp" diff --git a/pocs_go/weblogic/CVE_2021_2109.go b/pocs_go/weblogic/CVE_2021_2109.go index 509deed20..4bb760955 100644 --- a/pocs_go/weblogic/CVE_2021_2109.go +++ b/pocs_go/weblogic/CVE_2021_2109.go @@ -1,7 +1,7 @@ package weblogic import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) func CVE_2021_2109(url string) bool { diff --git a/pocs_go/zabbix/CVE-2022-23131.go b/pocs_go/zabbix/CVE-2022-23131.go index 831f578f0..c76a19700 100644 --- a/pocs_go/zabbix/CVE-2022-23131.go +++ b/pocs_go/zabbix/CVE-2022-23131.go @@ -1,7 +1,7 @@ package zabbix import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pocs_go/zentao/CNVD_2022_42853.go b/pocs_go/zentao/CNVD_2022_42853.go index dc5cc0422..576e5c9cf 100644 --- a/pocs_go/zentao/CNVD_2022_42853.go +++ b/pocs_go/zentao/CNVD_2022_42853.go @@ -1,7 +1,7 @@ package zentao import ( - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "strings" ) diff --git a/pocs_yml/check/check.go b/pocs_yml/check/check.go index c55bf7edf..9f6a686c9 100644 --- a/pocs_yml/check/check.go +++ b/pocs_yml/check/check.go @@ -2,7 +2,7 @@ package check import ( "fmt" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" "github.com/pkg/errors" "github.com/projectdiscovery/gologger" "io" @@ -16,9 +16,9 @@ import ( "time" "github.com/google/cel-go/checker/decls" - "github.com/hktalent/scan4all/pocs_yml/pkg/xray/cel" - "github.com/hktalent/scan4all/pocs_yml/pkg/xray/requests" - xray_structs "github.com/hktalent/scan4all/pocs_yml/pkg/xray/structs" + "github.com/hktalent/ProScan4all/pocs_yml/pkg/xray/cel" + "github.com/hktalent/ProScan4all/pocs_yml/pkg/xray/requests" + xray_structs "github.com/hktalent/ProScan4all/pocs_yml/pkg/xray/structs" "gopkg.in/yaml.v2" ) diff --git a/pocs_yml/pkg/common/structs/commonStructs.go b/pocs_yml/pkg/common/structs/commonStructs.go index 8dbef64e7..21867a602 100644 --- a/pocs_yml/pkg/common/structs/commonStructs.go +++ b/pocs_yml/pkg/common/structs/commonStructs.go @@ -1,7 +1,7 @@ package structs import ( - "github.com/hktalent/scan4all/pocs_yml/pkg/xray/structs" + "github.com/hktalent/ProScan4all/pocs_yml/pkg/xray/structs" "net/http" "strings" ) diff --git a/pocs_yml/pkg/xray/cel/cel.go b/pocs_yml/pkg/xray/cel/cel.go index e3f55ffa7..b94eef296 100644 --- a/pocs_yml/pkg/xray/cel/cel.go +++ b/pocs_yml/pkg/xray/cel/cel.go @@ -6,7 +6,7 @@ import ( "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" "github.com/google/cel-go/interpreter/functions" - "github.com/hktalent/scan4all/pocs_yml/pkg/xray/structs" + "github.com/hktalent/ProScan4all/pocs_yml/pkg/xray/structs" exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1" "strings" "sync" diff --git a/pocs_yml/pkg/xray/cel/definition.go b/pocs_yml/pkg/xray/cel/definition.go index 1e2afc084..af7a93b54 100644 --- a/pocs_yml/pkg/xray/cel/definition.go +++ b/pocs_yml/pkg/xray/cel/definition.go @@ -4,7 +4,7 @@ import ( "github.com/google/cel-go/cel" "github.com/google/cel-go/checker/decls" "github.com/google/cel-go/common/types/ref" - "github.com/hktalent/scan4all/pocs_yml/pkg/xray/structs" + "github.com/hktalent/ProScan4all/pocs_yml/pkg/xray/structs" exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1" ) diff --git a/pocs_yml/pkg/xray/cel/implementation.go b/pocs_yml/pkg/xray/cel/implementation.go index 139bb65a0..c3e6b85cb 100644 --- a/pocs_yml/pkg/xray/cel/implementation.go +++ b/pocs_yml/pkg/xray/cel/implementation.go @@ -5,8 +5,8 @@ import ( "crypto/md5" "encoding/base64" "fmt" - structs2 "github.com/hktalent/scan4all/pocs_yml/pkg/common/structs" - "github.com/hktalent/scan4all/pocs_yml/utils" + structs2 "github.com/hktalent/ProScan4all/pocs_yml/pkg/common/structs" + "github.com/hktalent/ProScan4all/pocs_yml/utils" "math/rand" "net/http" "net/url" @@ -21,8 +21,8 @@ import ( "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" "github.com/google/cel-go/interpreter/functions" - "github.com/hktalent/scan4all/pocs_yml/pkg/xray/requests" - "github.com/hktalent/scan4all/pocs_yml/pkg/xray/structs" + "github.com/hktalent/ProScan4all/pocs_yml/pkg/xray/requests" + "github.com/hktalent/ProScan4all/pocs_yml/pkg/xray/structs" ) var ( diff --git a/pocs_yml/pkg/xray/requests/cache.go b/pocs_yml/pkg/xray/requests/cache.go index b14184f41..17be1b021 100644 --- a/pocs_yml/pkg/xray/requests/cache.go +++ b/pocs_yml/pkg/xray/requests/cache.go @@ -7,8 +7,8 @@ import ( "sort" "github.com/bluele/gcache" - "github.com/hktalent/scan4all/pocs_yml/pkg/xray/structs" - "github.com/hktalent/scan4all/pocs_yml/utils" + "github.com/hktalent/ProScan4all/pocs_yml/pkg/xray/structs" + "github.com/hktalent/ProScan4all/pocs_yml/utils" ) var ( diff --git a/pocs_yml/pkg/xray/requests/requests.go b/pocs_yml/pkg/xray/requests/requests.go index 25c0ad821..227240a86 100644 --- a/pocs_yml/pkg/xray/requests/requests.go +++ b/pocs_yml/pkg/xray/requests/requests.go @@ -4,8 +4,8 @@ import ( "bytes" "compress/gzip" "crypto/tls" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pocs_yml/pkg/xray/structs" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pocs_yml/pkg/xray/structs" "io" "io/ioutil" "net" diff --git a/pocs_yml/utils/load.go b/pocs_yml/utils/load.go index 39463cfd3..0f3d0a552 100644 --- a/pocs_yml/utils/load.go +++ b/pocs_yml/utils/load.go @@ -3,7 +3,7 @@ package utils import ( "embed" "fmt" - "github.com/hktalent/scan4all/pocs_yml/pkg/xray/structs" + "github.com/hktalent/ProScan4all/pocs_yml/pkg/xray/structs" "gopkg.in/yaml.v2" "strings" ) diff --git a/pocs_yml/yml_poc_check.go b/pocs_yml/yml_poc_check.go index e63153197..37f7addb2 100644 --- a/pocs_yml/yml_poc_check.go +++ b/pocs_yml/yml_poc_check.go @@ -2,11 +2,11 @@ package pocs_yml import ( "embed" - "github.com/hktalent/scan4all/lib/util" - xray_check "github.com/hktalent/scan4all/pocs_yml/check" - common_structs "github.com/hktalent/scan4all/pocs_yml/pkg/common/structs" - xray_requests "github.com/hktalent/scan4all/pocs_yml/pkg/xray/requests" - "github.com/hktalent/scan4all/pocs_yml/utils" + "github.com/hktalent/ProScan4all/lib/util" + xray_check "github.com/hktalent/ProScan4all/pocs_yml/check" + common_structs "github.com/hktalent/ProScan4all/pocs_yml/pkg/common/structs" + xray_requests "github.com/hktalent/ProScan4all/pocs_yml/pkg/xray/requests" + "github.com/hktalent/ProScan4all/pocs_yml/utils" "net/url" "time" ) diff --git a/projectdiscovery/nuclei_Yaml/nclruner/runner/runner.go b/projectdiscovery/nuclei_Yaml/nclruner/runner/runner.go index a6c72fd5d..f38d1e6c2 100644 --- a/projectdiscovery/nuclei_Yaml/nclruner/runner/runner.go +++ b/projectdiscovery/nuclei_Yaml/nclruner/runner/runner.go @@ -20,7 +20,7 @@ import ( "go.uber.org/atomic" "go.uber.org/ratelimit" - "github.com/hktalent/scan4all/projectdiscovery/nuclei_Yaml/nclruner/colorizer" + "github.com/hktalent/ProScan4all/projectdiscovery/nuclei_Yaml/nclruner/colorizer" "github.com/projectdiscovery/gologger" "github.com/projectdiscovery/nuclei/v2/pkg/catalog" "github.com/projectdiscovery/nuclei/v2/pkg/catalog/config" diff --git a/projectdiscovery/nuclei_Yaml/nuclei_yaml.go b/projectdiscovery/nuclei_Yaml/nuclei_yaml.go index 1d0091be8..77343823f 100644 --- a/projectdiscovery/nuclei_Yaml/nuclei_yaml.go +++ b/projectdiscovery/nuclei_Yaml/nuclei_yaml.go @@ -4,10 +4,10 @@ import ( "C" "bytes" "encoding/json" + "github.com/hktalent/ProScan4all/lib/util" + runner2 "github.com/hktalent/ProScan4all/projectdiscovery/nuclei_Yaml/nclruner/runner" "github.com/hktalent/goSqlite_gorm/lib/scan/Const" "github.com/hktalent/goSqlite_gorm/pkg/models" - "github.com/hktalent/scan4all/lib/util" - runner2 "github.com/hktalent/scan4all/projectdiscovery/nuclei_Yaml/nclruner/runner" "github.com/projectdiscovery/fileutil" "github.com/projectdiscovery/goflags" "github.com/projectdiscovery/gologger" diff --git a/static/Installation.md b/static/Installation.md index c536697ac..aa5e55952 100644 --- a/static/Installation.md +++ b/static/Installation.md @@ -2,7 +2,7 @@ ```sh sudo apt install -y libpcap-dev golang git -git clone /~https://github.com/hktalent/scan4all.git +git clone /~https://github.com/hktalent/ProScan4all.git cd scan4all go build ``` @@ -25,7 +25,7 @@ brew install libpcap ``` 2.前往 -[/~https://github.com/hktalent/scan4all/releases/](/~https://github.com/hktalent/scan4all/releases/) +[/~https://github.com/hktalent/ProScan4all/releases/](/~https://github.com/hktalent/ProScan4all/releases/) 下载scan4all最新版运行: ## 运行时动态库版本问题 diff --git a/static/NicePwn.md b/static/NicePwn.md index 679477576..3ed0d0e16 100644 --- a/static/NicePwn.md +++ b/static/NicePwn.md @@ -6,7 +6,7 @@ * 2、mkdir ~/MyWork;cd ~/MyWork * 2.1 config目录及相关配置文件 下载release程序运行,首次运行非自动生成config目录及相关配置文件,或者: - git clone http://github.com/hktalent/scan4all + git clone http://github.com/hktalent/ProScan4all * 3、cd ~/MyWork/scan4all * 4、运行下面的代码,自动获取docker,并启动docker服务,端口9200 diff --git a/test/nuclei/testNuclei.go b/test/nuclei/testNuclei.go index 5e24680f5..39846efd3 100644 --- a/test/nuclei/testNuclei.go +++ b/test/nuclei/testNuclei.go @@ -2,8 +2,8 @@ package main import ( "bytes" - "github.com/hktalent/scan4all/projectdiscovery/nuclei_Yaml" - runner2 "github.com/hktalent/scan4all/projectdiscovery/nuclei_Yaml/nclruner/runner" + "github.com/hktalent/ProScan4all/projectdiscovery/nuclei_Yaml" + runner2 "github.com/hktalent/ProScan4all/projectdiscovery/nuclei_Yaml/nclruner/runner" "github.com/projectdiscovery/nuclei/v2/pkg/model/types/severity" nucleiType "github.com/projectdiscovery/nuclei/v2/pkg/templates/types" _ "net/http/pprof" diff --git a/test/test1/testPswd.go b/test/test1/testPswd.go index 00b2b0f58..bb5b06bf1 100644 --- a/test/test1/testPswd.go +++ b/test/test1/testPswd.go @@ -3,9 +3,9 @@ package main import "log" // -////"github.com/hktalent/scan4all/pkg/hydra" +////"github.com/hktalent/ProScan4all/pkg/hydra" //import ( -// "github.com/hktalent/scan4all/pkg/hydra" +// "github.com/hktalent/ProScan4all/pkg/hydra" //) // func main() { @@ -28,7 +28,7 @@ func main() { } //hydra.Start("18.163.182.231", 22, "ssh") - //"github.com/hktalent/scan4all/pkg/hydra" + //"github.com/hktalent/ProScan4all/pkg/hydra" //tempInput, err := ioutil.TempFile("", "stdin-input-*") //if err != nil { // log.Println(err) diff --git a/test/testCVE_2022_24706.go b/test/testCVE_2022_24706.go index 3d52f92cf..d31084d96 100644 --- a/test/testCVE_2022_24706.go +++ b/test/testCVE_2022_24706.go @@ -1,6 +1,6 @@ package main -import "github.com/hktalent/scan4all/pocs_go/apache" +import "github.com/hktalent/ProScan4all/pocs_go/apache" func main1() { apache.CVE_2022_24706("http://47.113.196.143:4369") diff --git a/test/testFg.go b/test/testFg.go index e7479ebb6..7eef70f5e 100644 --- a/test/testFg.go +++ b/test/testFg.go @@ -1,9 +1,9 @@ package main import ( - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/fingerprint" - httpxrunner "github.com/hktalent/scan4all/pkg/httpx/runner" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/fingerprint" + httpxrunner "github.com/hktalent/ProScan4all/pkg/httpx/runner" "log" ) diff --git a/test/testfg/TestFg2.go b/test/testfg/TestFg2.go index fcaeb1f3e..d60a0a3e5 100644 --- a/test/testfg/TestFg2.go +++ b/test/testfg/TestFg2.go @@ -3,8 +3,8 @@ package main import ( "crypto/tls" "fmt" - "github.com/hktalent/scan4all/lib/util" - "github.com/hktalent/scan4all/pkg/fingerprint" + "github.com/hktalent/ProScan4all/lib/util" + "github.com/hktalent/ProScan4all/pkg/fingerprint" "io/ioutil" "log" "net/http" diff --git a/test/testreg1/testReg.go b/test/testreg1/testReg.go index a6850b20b..92d566e79 100644 --- a/test/testreg1/testReg.go +++ b/test/testreg1/testReg.go @@ -3,7 +3,7 @@ package main import ( "context" _ "embed" - "github.com/hktalent/scan4all/lib/util" + "github.com/hktalent/ProScan4all/lib/util" ) // 测试正则表达式是否正确 diff --git a/test/vnc/test.go b/test/vnc/test.go index 73290eb77..269c0014d 100644 --- a/test/vnc/test.go +++ b/test/vnc/test.go @@ -1,7 +1,7 @@ package main import ( - "github.com/hktalent/scan4all/pkg/hydra/vnc" + "github.com/hktalent/ProScan4all/pkg/hydra/vnc" "log" "net" ) diff --git a/testbd.sh b/testbd.sh index 1218a3b35..b3053ed9c 100644 --- a/testbd.sh +++ b/testbd.sh @@ -1,7 +1,7 @@ rm -rf vendor/github.com/projectdiscovery/nuclei/v2/pkg/protocols/http/request.go rm -rf vendor/github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/interactsh/interactsh.go -wget -c -O vendor/github.com/projectdiscovery/nuclei/v2/pkg/protocols/http/request.go /~https://github.com/hktalent/scan4all/raw/main/vendor/github.com/projectdiscovery/nuclei/v2/pkg/protocols/http/request.go -wget -c -O vendor/github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/interactsh/interactsh.go /~https://github.com/hktalent/scan4all/raw/main/vendor/github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/interactsh/interactsh.go +wget -c -O vendor/github.com/projectdiscovery/nuclei/v2/pkg/protocols/http/request.go /~https://github.com/hktalent/ProScan4all/raw/main/vendor/github.com/projectdiscovery/nuclei/v2/pkg/protocols/http/request.go +wget -c -O vendor/github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/interactsh/interactsh.go /~https://github.com/hktalent/ProScan4all/raw/main/vendor/github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/interactsh/interactsh.go go build find . -name ".DS_Store" -delete diff --git a/webScan/Functions/Choose.go b/webScan/Functions/Choose.go index 66b7a33cb..b008d9873 100644 --- a/webScan/Functions/Choose.go +++ b/webScan/Functions/Choose.go @@ -1,7 +1,7 @@ package Funcs import ( - Configs "github.com/hktalent/scan4all/webScan/config" + Configs "github.com/hktalent/ProScan4all/webScan/config" ) type extras struct { diff --git a/webScan/Functions/Final.go b/webScan/Functions/Final.go index fbd9b86a3..d92477fd7 100644 --- a/webScan/Functions/Final.go +++ b/webScan/Functions/Final.go @@ -3,8 +3,8 @@ package Funcs import ( "encoding/json" "fmt" - "github.com/hktalent/scan4all/lib/util" - Configs "github.com/hktalent/scan4all/webScan/config" + "github.com/hktalent/ProScan4all/lib/util" + Configs "github.com/hktalent/ProScan4all/webScan/config" "log" ) diff --git a/webScan/Functions/FindFile.go b/webScan/Functions/FindFile.go index 80f4e8b63..66ef481ab 100644 --- a/webScan/Functions/FindFile.go +++ b/webScan/Functions/FindFile.go @@ -1,7 +1,7 @@ package Funcs import ( - Configs "github.com/hktalent/scan4all/webScan/config" + Configs "github.com/hktalent/ProScan4all/webScan/config" "io/ioutil" "log" "path/filepath" diff --git a/webScan/Functions/GetTitle.go b/webScan/Functions/GetTitle.go index 5fda9d267..71c8e0196 100644 --- a/webScan/Functions/GetTitle.go +++ b/webScan/Functions/GetTitle.go @@ -2,8 +2,8 @@ package Funcs import ( "fmt" - "github.com/hktalent/scan4all/lib/util" - Configs "github.com/hktalent/scan4all/webScan/config" + "github.com/hktalent/ProScan4all/lib/util" + Configs "github.com/hktalent/ProScan4all/webScan/config" "io/ioutil" "net/http" "os" diff --git a/webScan/Functions/HttpClient.go b/webScan/Functions/HttpClient.go index e3953e795..df94ca3d4 100644 --- a/webScan/Functions/HttpClient.go +++ b/webScan/Functions/HttpClient.go @@ -2,8 +2,8 @@ package Funcs import ( "bytes" - "github.com/hktalent/scan4all/lib/util" - Configs "github.com/hktalent/scan4all/webScan/config" + "github.com/hktalent/ProScan4all/lib/util" + Configs "github.com/hktalent/ProScan4all/webScan/config" "io" "io/ioutil" "log" diff --git a/webScan/Functions/JudgeMent.go b/webScan/Functions/JudgeMent.go index e44ad80cf..202c80c3e 100644 --- a/webScan/Functions/JudgeMent.go +++ b/webScan/Functions/JudgeMent.go @@ -2,7 +2,7 @@ package Funcs import ( "fmt" - Configs "github.com/hktalent/scan4all/webScan/config" + Configs "github.com/hktalent/ProScan4all/webScan/config" "net/http" "regexp" "strings" diff --git a/webScan/Functions/Loadlog.go b/webScan/Functions/Loadlog.go index 1379939d7..790ae4f8f 100644 --- a/webScan/Functions/Loadlog.go +++ b/webScan/Functions/Loadlog.go @@ -2,8 +2,8 @@ package Funcs import ( "fmt" - "github.com/hktalent/scan4all/lib/util" - Configs "github.com/hktalent/scan4all/webScan/config" + "github.com/hktalent/ProScan4all/lib/util" + Configs "github.com/hktalent/ProScan4all/webScan/config" "log" "os" "time" diff --git a/webScan/Functions/loadJson.go b/webScan/Functions/loadJson.go index c061340b8..5fdfa3feb 100644 --- a/webScan/Functions/loadJson.go +++ b/webScan/Functions/loadJson.go @@ -3,7 +3,7 @@ package Funcs import ( "encoding/json" "fmt" - Configs "github.com/hktalent/scan4all/webScan/config" + Configs "github.com/hktalent/ProScan4all/webScan/config" "io/ioutil" "log" "os" diff --git a/webScan/webScanUrls.go b/webScan/webScanUrls.go index e7320d0c9..332a1bc7e 100644 --- a/webScan/webScanUrls.go +++ b/webScan/webScanUrls.go @@ -2,9 +2,9 @@ package webScan import ( "bytes" - "github.com/hktalent/scan4all/lib/util" - ws01 "github.com/hktalent/scan4all/webScan/Functions" - Configs "github.com/hktalent/scan4all/webScan/config" + "github.com/hktalent/ProScan4all/lib/util" + ws01 "github.com/hktalent/ProScan4all/webScan/Functions" + Configs "github.com/hktalent/ProScan4all/webScan/config" "strings" )