From 80227c85311bac3df05bd0070fa48b0f8ec61a3c Mon Sep 17 00:00:00 2001 From: qi4L Date: Wed, 11 Sep 2024 10:39:57 +0800 Subject: [PATCH] feat(qscan.go): add logo --- .idea/.gitignore | 8 --- .idea/modules.xml | 2 +- .idea/{kscan-master.iml => qscan11.iml} | 0 .idea/vcs.xml | 2 +- .idea/workspace.xml | 79 +++++++++++++++++++++++++ go.mod | 2 +- qscan.go | 7 ++- 7 files changed, 87 insertions(+), 13 deletions(-) delete mode 100644 .idea/.gitignore rename .idea/{kscan-master.iml => qscan11.iml} (100%) create mode 100644 .idea/workspace.xml diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 35410ca..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# 默认忽略的文件 -/shelf/ -/workspace.xml -# 基于编辑器的 HTTP 客户端请求 -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/modules.xml b/.idea/modules.xml index dbeed97..17194d7 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/.idea/kscan-master.iml b/.idea/qscan11.iml similarity index 100% rename from .idea/kscan-master.iml rename to .idea/qscan11.iml diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 94a25f7..35eb1dd 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..3d0387e --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + { + "customColor": "", + "associatedIndex": 0 +} + + + + { + "keyToString": { + "Go 构建.go build qscan.go.executor": "Run", + "RunOnceActivity.ShowReadmeOnStart": "true", + "RunOnceActivity.go.formatter.settings.were.checked": "true", + "RunOnceActivity.go.migrated.go.modules.settings": "true", + "RunOnceActivity.go.modules.go.list.on.any.changes.was.set": "true", + "git-widget-placeholder": "master", + "go.import.settings.migrated": "true", + "go.sdk.automatically.set": "true", + "last_opened_file_path": "C:/Users/22393", + "nodejs_package_manager_path": "npm", + "settings.editor.selected.configurable": "go.sdk" + } +} + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + \ No newline at end of file diff --git a/go.mod b/go.mod index a5a9b34..7567dbd 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module Qscan -go 1.22 +go 1.19 require ( github.com/atotto/clipboard v0.1.4 diff --git a/qscan.go b/qscan.go index 14e84cd..cf25623 100644 --- a/qscan.go +++ b/qscan.go @@ -26,7 +26,10 @@ import ( ) // logo信息 -const logo = `` +const logo = ` + ┏┓┏┏┏┓┏┓ + ┗┫┛┗┗┻┛┗ + ┗ ` // 帮助信息 const help = ` @@ -83,7 +86,7 @@ fofa options: --fofa-fix-keyword 修饰keyword,该参数中的{}最终会替换成-f参数的值 ` -const usage = "usage: kscan [-h,--help,--fofa-syntax] (-t,--target,-f,--fofa,--spy]) [options] [hydra options] [fofa options]\n\n" +const usage = "usage: qscan [-h,--help,--fofa-syntax] (-t,--target,-f,--fofa,--spy]) [options] [hydra options] [fofa options]\n\n" const syntax = `title="beijing" 从标题中搜索"北京" - header="elastic" 从http头中搜索"elastic" -