Skip to content

Instantly share code, notes, and snippets.

@brandonrobertz
Created December 1, 2017 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandonrobertz/0aa2da0752dfb9c70df819f7ac51cdba to your computer and use it in GitHub Desktop.
Save brandonrobertz/0aa2da0752dfb9c70df819f7ac51cdba to your computer and use it in GitHub Desktop.
ManageEngine Weak Master Key Viz
# pos special_freq upper_freq lower_freq digit_freq
# gnuplot 5.2
Position Special Uppercase Lowercase Digits - - - - - - - - - - - - - - - - - - TOTAL
1 - - 4712 - - - - - - - - - - - - - - - - - - - 4712
2 - - - 4712 - - - - - - - - - - - - - - - - - - 4712
3 - 4712 - - - - - - - - - - - - - - - - - - - - 4712
4 1601 - 1579 1532 - - - - - - - - - - - - - - - - - - 4712
5 1619 261 1314 1518 - - - - - - - - - - - - - - - - - - 4712
6 1546 446 1152 1568 - - - - - - - - - - - - - - - - - - 4712
7 1511 533 1134 1534 - - - - - - - - - - - - - - - - - - 4712
8 1332 815 1165 1400 - - - - - - - - - - - - - - - - - - 4712
9 1230 1027 1224 1231 - - - - - - - - - - - - - - - - - - 4712
10 1031 1240 1345 1096 - - - - - - - - - - - - - - - - - - 4712
11 875 1398 1484 955 - - - - - - - - - - - - - - - - - - 4712
12 759 1573 1594 786 - - - - - - - - - - - - - - - - - - 4712
13 590 1752 1758 612 - - - - - - - - - - - - - - - - - - 4712
14 444 1851 1895 522 - - - - - - - - - - - - - - - - - - 4712
15 368 1957 1981 406 - - - - - - - - - - - - - - - - - - 4712
16 295 2031 2083 303 - - - - - - - - - - - - - - - - - - 4712
17 250 2115 2097 250 - - - - - - - - - - - - - - - - - - 4712
18 158 2158 2209 187 - - - - - - - - - - - - - - - - - - 4712
19 154 2202 2229 127 - - - - - - - - - - - - - - - - - - 4712
20 120 2329 2180 83 - - - - - - - - - - - - - - - - - - 4712
21 55 2277 2314 66 - - - - - - - - - - - - - - - - - - 4712
22 62 2251 2358 41 - - - - - - - - - - - - - - - - - - 4712
23 38 2362 2273 39 - - - - - - - - - - - - - - - - - - 4712
24 28 2310 2346 28 - - - - - - - - - - - - - - - - - - 4712
25 25 2306 2364 17 - - - - - - - - - - - - - - - - - - 4712
26 10 2377 2308 17 - - - - - - - - - - - - - - - - - - 4712
27 5 2341 2352 14 - - - - - - - - - - - - - - - - - - 4712
28 10 2355 2341 6 - - - - - - - - - - - - - - - - - - 4712
29 5 2349 2357 1 - - - - - - - - - - - - - - - - - - 4712
30 5 2358 2346 3 - - - - - - - - - - - - - - - - - - 4712
31 3 2398 2307 4 - - - - - - - - - - - - - - - - - - 4712
32 7 2354 2351 - - - - - - - - - - - - - - - - - - - 4712
set terminal pngcairo enhanced font "arial,10" fontscale 1.0 size 600, 400
set output "manegeengine.pos_freq.png"
set title "ManageEngine Key Compositiion"
set boxwidth 0.75 absolute
set style fill solid 1.00 border lt -1
set grid nopolar
set grid noxtics nomxtics ytics nomytics noztics nomztics nortics nomrtics \
nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics
set grid layerdefault lt 0 linecolor 0 linewidth 0.500, lt 0 linecolor 0 linewidth 0.500
set key outside right top vertical Left reverse noenhanced autotitle columnhead nobox
set key invert samplen 4 spacing 1 width 0 height 0
set style histogram rowstacked title textcolor lt -1
set datafile missing '-'
set style data histograms
unset ytics
set xtics nomirror rotate by -45 scale 0 font ",8"
set xlabel offset 0,-2
set ylabel "% of total"
set yrange [ 0.00000 : 100.000 ] noreverse nowriteback
DEBUG_TERM_HTIC = 119
DEBUG_TERM_VTIC = 119
plot 'manageengine_position.freq.dat' using (100.*$2/$24):xtic(1) t column(2), \
for [i=3:5] '' using (100.*column(i)/column(24)) title column(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment