Skip to content

Commit

Permalink
Merge pull request #10 from zhzyker/version-0.3
Browse files Browse the repository at this point in the history
Version 0.3
  • Loading branch information
zhzyker committed Mar 2, 2022
2 parents 3be5ee8 + 93b32b6 commit 1c5dd0c
Show file tree
Hide file tree
Showing 72 changed files with 4,486 additions and 1,829 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/release-binary.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .gitignore

This file was deleted.

22 changes: 0 additions & 22 deletions .goreleaser.yml

This file was deleted.

7 changes: 2 additions & 5 deletions dismap.go → cmd/dismap/dismap.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package main

/*
_____________
______ /__(_)_____________ _________ ________
_ __ /__ /__ ___/_ __ `__ \ __ `/__ __ \
Expand All @@ -10,14 +9,12 @@ _ __ /__ /__ ___/_ __ `__ \ __ `/__ __ \
/_/
author: zhzyker && Nemophllist
from: https://github.com/zhzyker/dismap
*/

import (
"github.com/zhzyker/dismap/lib"
"github.com/zhzyker/dismap/internal"
)

func main() {
// lib/core
lib.ManageFlag()
internal.DisMap()
}
11 changes: 0 additions & 11 deletions config/config.go

This file was deleted.

12 changes: 6 additions & 6 deletions lib/banner.go → configs/banner.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
package lib
package configs

import (
"fmt"

"github.com/zhzyker/dismap/pkg/logger"
)

func banner() {
banners := "_____________\n" +
func Banner() {
b := "_____________\n" +
"______ /__(_)_____________ _________ ________\n" +
"_ __ /__ /__ ___/_ __ `__ \\ __ `/__ __ \\\n" +
"/ /_/ / _ / _(__ )_ / / / / / /_/ /__ /_/ /\n" +
"\\__,_/ /_/ /____/ /_/ /_/ /_/\\__,_/ _ .___/\n" +
" /_/"
infor := " dismap version: 0.2 release\n" +
s := " dismap version: 0.3 release\n" +
" author: zhzyker && Nemophllist\n" +
" from: https://github.com/zhzyker/dismap\n"
fmt.Println(logger.Purple(banners))
fmt.Println(logger.LightWhite(infor))
fmt.Println(logger.Purple(b))
fmt.Println(logger.LightWhite(s))
}
11 changes: 11 additions & 0 deletions configs/config.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package configs



var DefaultPorts = []int{21,22,25,53,69,79,80,81,82,83,84,85,86,87,88,89,110,135,137,138,139,143,389,443,445,554,587,631,800,801,808,880,888,1000,1024,1025,1080,1099,1389,1433,1521,2000,2001,2222,2601,3306,3307,3388,3389,3443,5800,5900,6379,7000,7001,7007,7010,7788,8000,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8030,8060,8070,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8161,8175,8188,8189,8443,8445,8448,8554,8800,8848,8880,8881,8888,8899,8983,8989,9000,9001,9002,9008,9010,9043,9060,9080,9081,9082,9083,9084,9085,9086,9087,9088,9089,9090,9091,9092,9093,9094,9095,9096,9097,9099,9443,9448,9600,9628,9800,9899,9981,9986,9988,9998,9999,11001,13443,15000,20000,33890,45554,49155,49156,50050,61616}

var DefaultHeader = map[string]string{
"Accept-Language": "zh,zh-TW;q=0.9,en-US;q=0.8,en;q=0.7,zh-CN;q=0.6",
"User-agent": "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1468.0 Safari/537.36",
"Cookie": "rememberMe=int",
}
Loading

0 comments on commit 1c5dd0c

Please sign in to comment.