mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2025-01-08 01:33:44 +00:00
21 lines
648 B
Go
21 lines
648 B
Go
|
package util
|
||
|
|
||
|
import (
|
||
|
"github.com/pterm/pterm"
|
||
|
"github.com/xvzc/SpoofDPI/config"
|
||
|
)
|
||
|
|
||
|
|
||
|
func PrintWelcome() {
|
||
|
cyan := pterm.NewLettersFromStringWithStyle("Spoof", pterm.NewStyle(pterm.FgCyan))
|
||
|
purple := pterm.NewLettersFromStringWithStyle("DPI", pterm.NewStyle(pterm.FgLightMagenta))
|
||
|
pterm.DefaultBigText.WithLetters(cyan, purple).Render()
|
||
|
|
||
|
pterm.DefaultBulletList.WithItems([]pterm.BulletListItem{
|
||
|
{Level: 0, Text: "SOURCE IP : " + config.GetConfig().SrcIp},
|
||
|
{Level: 0, Text: "SOURCE PORT : " + config.GetConfig().SrcPort},
|
||
|
{Level: 0, Text: "DNS : " + config.GetConfig().DNS},
|
||
|
}).Render()
|
||
|
|
||
|
}
|