Compare commits

...
Author SHA1 Message Date
Chris Smith ec1339e766 Updated format string 2022-01-25 13:46:57 +00:00
Chris Smith b452d42314 Fix format string for session kills 2022-01-25 01:55:35 +00:00
moloch-- 8e9f6a874c Removed some problematic words from rng dictionaries 2022-01-24 17:21:30 -06:00
moloch-- d0f51d7792 Fix for issue #576 2022-01-24 10:25:33 -06:00
moloch-- ce1d2a2c55 Fix fmt type in kill session 2022-01-24 09:17:59 -06:00
moloch-- 6965958097 fix for issue #575 2022-01-24 08:44:19 -06:00
8 changed files with 10 additions and 199 deletions

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ func KillCmd(ctx *grumble.Context, con *console.SliverConsoleClient) {
con.PrintErrorf("%s\n", err)
return
}
con.PrintInfof("Killed %s (%d)\n", session.Name, session.ID)
con.PrintInfof("Killed %s (%s)\n", session.Name, session.ID)
con.ActiveTarget.Background()
return
} else if beacon != nil {
+1 -1
View File
@@ -61,7 +61,7 @@ func SelectSession(onlyAlive bool, con *console.SliverConsoleClient) (*clientpb.
for _, session := range sessions.Sessions {
keys = append(keys, session.ID)
}
sort.Strings(keys) // Fucking Go can't sort int32's, so we convert to/from int's
sort.Strings(keys)
outputBuf := bytes.NewBufferString("")
table := tabwriter.NewWriter(outputBuf, 0, 2, 2, ' ', 0)
+2 -2
View File
@@ -55,7 +55,7 @@ func SessionsCmd(ctx *grumble.Context, con *console.SliverConsoleClient) {
con.PrintErrorf("%s\n", err)
}
con.Println()
con.PrintInfof("Killed %s (%d)\n", session.Name, session.ID)
con.PrintInfof("Killed %s (%s)\n", session.Name, session.ID)
}
return
}
@@ -69,7 +69,7 @@ func SessionsCmd(ctx *grumble.Context, con *console.SliverConsoleClient) {
con.PrintErrorf("%s\n", err)
}
con.Println()
con.PrintInfof("Killed %s (%d)\n", session.Name, session.ID)
con.PrintInfof("Killed %s (%s)\n", session.Name, session.ID)
}
}
return
+1 -1
View File
@@ -70,7 +70,7 @@ func SessionOrBeaconByID(id string, con *console.SliverConsoleClient) (*clientpb
}
if err == nil {
for _, session := range sessions.Sessions {
if session.ID == id {
if strings.HasPrefix(session.ID, id) {
return session, nil, nil
}
}
+3 -49
View File
@@ -64,7 +64,6 @@ late
long
modern
old
old-fashioned
quick
rapid
short
@@ -83,7 +82,6 @@ cooing
deafening
faint
harsh
high-pitched
hissing
hushed
husky
@@ -237,7 +235,7 @@ friendly
funny
gentle
glorious
good
good
happy
healthy
helpful
@@ -463,7 +461,6 @@ broad
joint
formal
limited
conservative
lovely
usual
ltd
@@ -471,7 +468,6 @@ unable
rural
initial
substantial
christian
bright
average
leading
@@ -484,7 +480,6 @@ working
overall
female
afraid
democratic
growing
sufficient
scientific
@@ -508,7 +503,6 @@ dry
historical
thin
daily
southern
increasing
wild
alone
@@ -522,14 +516,10 @@ upper
apparent
tall
busy
bloody
prepared
russian
moral
careful
clean
attractive
japanese
vital
thick
alternative
@@ -565,13 +555,11 @@ fundamental
odd
crucial
inner
used
criminal
contemporary
sharp
sick
near
roman
massive
unique
secondary
@@ -621,7 +609,6 @@ keen
flat
silent
indian
video-taped
worried
pale
statutory
@@ -645,7 +632,6 @@ rapid
adequate
fixed
sweet
administrative
wooden
remarkable
comprehensive
@@ -675,8 +661,6 @@ advanced
extreme
classical
fit
favourite
socialist
widespread
confident
straight
@@ -699,7 +683,6 @@ satisfied
conscious
developing
strategic
holy
smooth
dominant
remote
@@ -731,8 +714,6 @@ fat
tight
monetary
round
psychological
violent
unemployed
inevitable
junior
@@ -762,7 +743,6 @@ steady
classic
equivalent
intellectual
victorian
level
ultimate
creative
@@ -816,11 +796,8 @@ liable
multiple
ruling
curious
arab
sole
jewish
managing
pregnant
latin
nearby
exact
@@ -833,7 +810,6 @@ electoral
urgent
presidential
controversial
oral
everyday
encouraging
organic
@@ -853,9 +829,7 @@ disappointed
frightened
full-time
gastric
capitalist
romantic
naked
reluctant
magnificent
convenient
@@ -886,7 +860,6 @@ aggressive
spare
painful
abstract
asian
associated
legislative
monthly
@@ -901,13 +874,11 @@ ridiculous
amazing
comparable
successive
working-class
realistic
back
decent
unnecessary
flying
fucking
random
influential
dull
@@ -941,8 +912,6 @@ delicate
mild
occupational
excessive
progressive
iraqi
exceptional
integrated
striking
@@ -952,7 +921,6 @@ harsh
combined
fierce
handsome
characteristic
chronic
compulsory
interim
@@ -979,7 +947,6 @@ kind
advisory
hostile
precious
gay
accessible
determined
excited
@@ -988,8 +955,6 @@ provincial
smart
endless
isolated
post-war
drunk
geographical
like
dynamic
@@ -1036,7 +1001,6 @@ polish
israeli
developed
profound
representative
enthusiastic
dreadful
rigid
@@ -1070,7 +1034,6 @@ bored
charming
minimal
mobile
turkish
orange
rear
passive
@@ -1113,7 +1076,6 @@ useless
semantic
embarrassed
inherent
philosophical
deliberate
awake
variable
@@ -1210,14 +1172,12 @@ cheerful
subjective
forward
surviving
exotic
purple
cautious
visiting
aggregate
ethical
protestant
teenage
large-scale
dying
disastrous
@@ -1275,19 +1235,16 @@ imaginative
governing
accepted
vocational
palestinian
mighty
puzzled
worldwide
handicapped
organisational
sunny
eldest
eventual
spontaneous
vivid
rude
nineteenth-century
faithful
ministerial
innovative
@@ -1316,8 +1273,7 @@ famous
fragile
helpful
helpless
important
impossible
important
innocent
inquisitive
modern
@@ -1337,7 +1293,7 @@ uninterested
wandering
wild
wrong
adorable
adorable
alert
average
beautiful
@@ -1417,8 +1373,6 @@ nasty
new
nice
nosy
nutty
nutritious
odd
orange
ordinary
-3
View File
@@ -18150,7 +18150,6 @@ BOYSENBERRIES
BOYSENBERRY
BOZO
BOZOS
BRA
BRABBLE
BRABBLED
BRABBLER
@@ -81668,7 +81667,6 @@ JETWAY
JETWAYS
JEU
JEUX
JEW
JEWED
JEWEL
JEWELED
@@ -81692,7 +81690,6 @@ JEWELWEEDS
JEWFISH
JEWFISHES
JEWING
JEWS
JEZAIL
JEZAILS
JEZEBEL
+1 -141
View File
@@ -17,7 +17,6 @@ account
accountant
achiever
acid
acknowledgment
acoustic
acoustics
acrylic
@@ -33,9 +32,7 @@ addiction
addition
address
adjustment
administration
adrenalin
adult
adrenalinz
adulthood
advance
advancement
@@ -406,9 +403,6 @@ bloom
bloomers
blossom
blouse
blow
blowgun
blowhole
blue
blueberry
boar
@@ -437,10 +431,7 @@ bookend
booklet
booster
boot
bootee
bootie
boots
booty
border
bore
bosom
@@ -464,8 +455,6 @@ box
boxer
boxspring
boy
boyfriend
bra
brace
bracelet
bracket
@@ -483,7 +472,6 @@ breadcrumb
break
breakfast
breakpoint
breast
breastplate
breath
breeze
@@ -492,9 +480,7 @@ brick
bricklaying
bridge
brief
briefs
brilliant
british
broad
broccoli
brochure
@@ -509,7 +495,6 @@ brood
brook
broom
brother
brother-in-law
brow
brown
brush
@@ -535,9 +520,6 @@ bull-fighter
bumper
bun
bunch
bungalow
bunghole
bunkhouse
burglar
burlesque
burn
@@ -586,7 +568,6 @@ campanile
can
canal
cancel
cancer
candelabra
candidate
candle
@@ -658,7 +639,6 @@ cauliflower
cause
caution
cave
c-clamp
cd
ceiling
celebration
@@ -703,7 +683,6 @@ change
channel
chaos
chap
chapel
chapter
character
chard
@@ -713,14 +692,11 @@ charlatan
charles
charm
chart
chastity
chasuble
chateau
chauffeur
chauvinist
check
checkroom
cheek
cheetah
chef
chemical
@@ -729,8 +705,6 @@ cheque
cherries
cherry
chess
chest
chick
chicken
chicory
chief
@@ -745,23 +719,18 @@ chin
chino
chip
chipmunk
chit-chat
chivalry
chive
chocolate
choice
choker
chop
chopstick
chord
chowder
chrome
chromolithograph
chronograph
chronometer
chub
chug
church
churn
cicada
cigarette
@@ -846,8 +815,6 @@ collection
college
collision
colloquia
colon
colonisation
colony
color
colt
@@ -857,8 +824,6 @@ comb
combat
combination
combine
comfort
comfortable
comic
comma
command
@@ -1017,7 +982,6 @@ credenza
credit
creditor
creek
creme brulee
crest
crew
crib
@@ -1036,8 +1000,6 @@ croissant
crook
crop
cross
cross-contamination
cross-stitch
crotch
croup
crow
@@ -1046,16 +1008,13 @@ crown
crude
crush
cry
crystallography
cub
cuckoo
cucumber
cuff-links
cultivar
cultivator
culture
culvert
cummerbund
cup
cupboard
cupcake
@@ -1085,7 +1044,6 @@ cymbals
cynic
cyst
cytoplasm
dad
daffodil
dagger
dahlia
@@ -1105,8 +1063,6 @@ dashboard
data
database
date
daughter
david
day
daybed
dead
@@ -1182,7 +1138,6 @@ diamond
diaphragm
diarist
dibble
dickey
dictaphone
diction
dictionary
@@ -1221,7 +1176,6 @@ discovery
discrepancy
discussion
disease
disembodiment
disengagement
disguise
disgust
@@ -1427,7 +1381,6 @@ essay
establishment
estate
estimate
estrogen
estuary
ethernet
ethics
@@ -1453,7 +1406,6 @@ excuse
executor
exercise
exhaust
ex-husband
exile
existence
exit
@@ -1507,11 +1459,6 @@ fanny
fanny-pack
farm
farmer
fascia
fat
father
father-in-law
fatigues
faucet
fault
fawn
@@ -1520,7 +1467,6 @@ fear
feast
feather
feature
fedelini
fedora
fee
feed
@@ -1528,8 +1474,6 @@ feedback
feel
feeling
feet
felony
female
fen
fence
fencing
@@ -1565,7 +1509,6 @@ finish
finisher
fir
fire
fireman
fireplace
firewall
fish
@@ -1589,7 +1532,6 @@ flavor
flax
fleck
fleece
flesh
flight
flintlock
flip-flops
@@ -1726,7 +1668,6 @@ geese
gelding
gem
gemsbok
gender
gene
general
genetics
@@ -1796,12 +1737,6 @@ grain
gram
grammar
grand
granddaughter
grandfather
grandmom
grandmother
grandson
granny
grape
grapefruit
graph
@@ -1813,9 +1748,6 @@ gratitude
gray
grease
great
great-grandfather
great-grandmother
greek
green
greenhouse
grenade
@@ -1845,11 +1777,7 @@ gum
gumshoes
gun
gutter
guy
gym
gymnast
gymnastics
gynaecology
gyro
habit
hacienda
@@ -1859,20 +1787,15 @@ hail
hair
haircut
half
half-brother
half-sister
halibut
hall
hallway
hamaki
hamburger
hammer
hammock
hamster
hand
handball
hand-holding
handicap
handle
handlebar
handmaiden
@@ -1924,11 +1847,8 @@ hedgehog
heel
height
heirloom
helen
helicopter
helium
hell
hellcat
hello
helmet
helo
@@ -2016,7 +1936,6 @@ husband
hut
hutch
hyacinth
hybridisation
hydrant
hydraulics
hydrofoil
@@ -2094,8 +2013,6 @@ inspector
instance
instruction
instrument
instrumentalist
instrumentation
insulation
insurance
insurgence
@@ -2135,17 +2052,13 @@ item
jackal
jacket
jaguar
jail
jailhouse
jam
james
jar
jasmine
jaw
jealousy
jeans
jeep
jeff
jelly
jellyfish
jet
@@ -2155,7 +2068,6 @@ jiffy
job
jockey
jodhpurs
joey
jogging
join
joint
@@ -2180,7 +2092,6 @@ jury
justice
jute
kale
kamikaze
kangaroo
karate
karen
@@ -2216,9 +2127,7 @@ kiss
kitchen
kite
kitten
kitty
kleenex
klomps
knee
kneejerk
knickers
@@ -2236,7 +2145,6 @@ laborer
labour
lace
lack
lacquerware
ladder
lady
ladybug
@@ -2508,7 +2416,6 @@ metro
metronome
mezzanine
mice
microlending
microwave
mid-course
middle
@@ -2562,19 +2469,14 @@ mobile
moccasins
mocha
mode
model
modem
mole
mom
moment
monastery
monasticism
money
monger
monitor
monkey
monocle
monotheism
monsoon
monster
month
@@ -2592,8 +2494,6 @@ mosquito
most
motel
moth
mother
mother-in-law
motion
motor
motorboat
@@ -2625,7 +2525,6 @@ music-making
mustache
mustard
mutt
mycoplasma
n
nail
name
@@ -2659,9 +2558,6 @@ netball
netbook
netsuke
network
neurobiologist
neuropathologist
neuropsychiatry
news
newspaper
newsprint
@@ -2835,9 +2731,7 @@ panda
panic
pannier
panpipe
pansy
panther
panties
pantologist
pantology
pantry
@@ -2913,7 +2807,6 @@ pearl
pedal
peen
peer
peer-to-peer
pegboard
pelican
pelt
@@ -3065,7 +2958,6 @@ poof
pool
pop
popcorn
poppy
popsicle
population
populist
@@ -3084,7 +2976,6 @@ post
postage
postbox
poster
pot
potato
potential
potty
@@ -3112,7 +3003,6 @@ president
press
pressroom
pressure
pressurisation
price
pride
priest
@@ -3250,7 +3140,6 @@ rambler
ramie
ranch
random
randomisation
range
rank
raspberry
@@ -3303,10 +3192,8 @@ regret
regular
regulation
reindeer
reinscription
reject
relation
relationship
relative
relaxation
release
@@ -3345,7 +3232,6 @@ respect
respite
respond
response
responsibility
rest
restaurant
result
@@ -3377,7 +3263,6 @@ rifle
right
rim
ring
ringworm
rip
ripple
rise
@@ -3481,13 +3366,11 @@ scallion
scanner
scarecrow
scarf
scarification
scene
scenery
scent
schedule
scheme
schizophrenic
schnitzel
school
schoolhouse
@@ -3546,7 +3429,6 @@ sense
sensitive
sentence
sepal
septicaemia
series
servant
serve
@@ -3648,9 +3530,6 @@ sing
singer
single
sink
sir
sister
sister-in-law
sitar
site
situation
@@ -3747,8 +3626,6 @@ source
sourwood
sousaphone
south
south america
south korea
sow
soy
soybean
@@ -3846,15 +3723,6 @@ steeple
stem
stencil
step
step-aunt
step-brother
stepdaughter
step-daughter
step-father
step-grandfather
step-grandmother
stepmother
step-mother
stepping-stone
steps
step-sister
@@ -4165,7 +4033,6 @@ total
tote
touch
tough
tough-guy
tour
tourist
towel
@@ -4266,7 +4133,6 @@ two
type
typewriter
typhoon
tyvek
ukulele
umbrella
unblinking
@@ -4314,16 +4180,12 @@ vase
vast
vault
vaulting
veal
vegetable
vegetarianism
vegetation
vehicle
veil
vein
veldt
vellum
velodrome
velvet
vengeance
venom
@@ -4347,8 +4209,6 @@ village
vineyard
vinyl
viola
violence
violet
violin
virginal
virtue
+1 -1
View File
@@ -99,7 +99,7 @@ func (j *jobs) Get(jobID int) *Job {
return nil
}
val, ok := j.active.Load(jobID)
if !ok {
if ok {
return val.(*Job)
}
return nil