fixed ports having a 100% rate instead of 5%...how did I miss this?

This commit is contained in:
mellodoot 2022-08-16 03:40:58 +01:00
parent b24e8fccce
commit c059111465

View file

@ -50,12 +50,12 @@ var methods = []string{
"surveilling", "surveilling",
"webcrawling", "webcrawling",
"scanning traffic from", "scanning traffic from",
"", "tunelling my smart oven to",
"i forgot", "i forgot",
"applying thermal paste to", "applying thermal paste to",
"committing tax fraud with", "committing tax fraud with",
"torrenting disney movies on", "torrenting disney movies on",
"surfing the web with", "surfing the web on",
"LOL'ing", "LOL'ing",
"shitposting on", "shitposting on",
"wasting time on", "wasting time on",
@ -100,7 +100,6 @@ var methods = []string{
"randomizing chance on", "randomizing chance on",
"exposing dream's cheating scandal from", "exposing dream's cheating scandal from",
"hosting dream SMP on", "hosting dream SMP on",
"wow look funny numbers!",
"brapping", "brapping",
":)", ":)",
"jerking off", "jerking off",
@ -130,7 +129,7 @@ var methods = []string{
"sending nudes to", "sending nudes to",
"installing a VPN on", "installing a VPN on",
"stealing nudes from", "stealing nudes from",
"getting critical alerts from microsoft on", "getting critical wirus alerts from",
":trollface:ing", ":trollface:ing",
"staring at", "staring at",
"PWNing", "PWNing",
@ -140,7 +139,7 @@ var methods = []string{
"generating", "generating",
"banning", "banning",
"proxying", "proxying",
"racially profiling", "causing a ruckus on",
"grossly offending", "grossly offending",
"nullnullnull", "nullnullnull",
} }
@ -183,7 +182,7 @@ func main() {
// random chance to have a port // random chance to have a port
// "what are the chances of this firing with ipv6?" - loudar, seconds before getting an ipv6 with a port // "what are the chances of this firing with ipv6?" - loudar, seconds before getting an ipv6 with a port
if rand.Intn(100) < 5 && !wasPorted && method != "closing all ports on" || true { if rand.Intn(100) < 5 && !wasPorted && method != "closing all ports on" {
address += ":" + color.Ize(color.Cyan, strconv.FormatInt(rand.Int63n(65535), 10)) address += ":" + color.Ize(color.Cyan, strconv.FormatInt(rand.Int63n(65535), 10))
wasPorted = true wasPorted = true
} else { } else {