
{"id":16488,"date":"2016-05-19T17:06:53","date_gmt":"2016-05-19T17:06:53","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=16488"},"modified":"2016-05-19T17:06:53","modified_gmt":"2016-05-19T17:06:53","slug":"sample-hack-session-with-sort-command","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2016\/05\/19\/sample-hack-session-with-sort-command\/","title":{"rendered":"sample hack session with sort command"},"content":{"rendered":"<pre>\n$sort -t: -k3 --debug \/etc\/passwd\nsort: using \u2018en_US.UTF-8\u2019 sorting rules\nroot:x:0:0:root:\/root:\/bin\/bash\n       ________________________\n_______________________________\njeffrin:x:1000:1000:Jeffrin Jose T,,,:\/home\/jeffrin:\/bin\/bash\n          ___________________________________________________\n_____________________________________________________________\nuuidd:x:100:101::\/run\/uuidd:\/bin\/false\n        ______________________________\n______________________________________\nuucp:x:10:10:uucp:\/var\/spool\/uucp:\/usr\/sbin\/nologin\n       ____________________________________________\n___________________________________________________\nDebian-exim:x:101:103::\/var\/spool\/exim4:\/bin\/false\n              ____________________________________\n__________________________________________________\nstatd:x:102:65534::\/var\/lib\/nfs:\/bin\/false\n        __________________________________\n__________________________________________\nsshd:x:103:65534::\/var\/run\/sshd:\/usr\/sbin\/nologin\n       __________________________________________\n_________________________________________________\nmessagebus:x:104:106::\/var\/run\/dbus:\/bin\/false\n             _________________________________\n______________________________________________\ncolord:x:105:109:colord colour management daemon,,,:\/var\/lib\/colord:\/bin\/false\n         _____________________________________________________________________\n______________________________________________________________________________\nusbmux:x:106:46:usbmux daemon,,,:\/home\/usbmux:\/bin\/false\n         _______________________________________________\n________________________________________________________\navahi:x:107:113:Avahi mDNS daemon,,,:\/var\/run\/avahi-daemon:\/bin\/false\n        _____________________________________________________________\n_____________________________________________________________________\npulse:x:108:114:PulseAudio daemon,,,:\/var\/run\/pulse:\/bin\/false\n        ______________________________________________________\n______________________________________________________________\nspeech-dispatcher:x:109:29:Speech Dispatcher,,,:\/var\/run\/speech-dispatcher:\/bin\/sh\n                    ______________________________________________________________\n__________________________________________________________________________________\nrtkit:x:110:116:RealtimeKit,,,:\/proc:\/bin\/false\n        _______________________________________\n_______________________________________________\nDebian-gdm:x:111:117:Gnome Display Manager:\/var\/lib\/gdm3:\/bin\/false\n             ______________________________________________________\n___________________________________________________________________\nsaned:x:112:118::\/var\/lib\/saned:\/bin\/false\n        __________________________________\n__________________________________________\nntp:x:113:120::\/home\/ntp:\/bin\/false\n      _____________________________\n___________________________________\ngeoclue:x:114:121::\/var\/lib\/geoclue:\/bin\/false\n          ____________________________________\n______________________________________________\ndnsmasq:x:115:65534:dnsmasq,,,:\/var\/lib\/misc:\/bin\/false\n          _____________________________________________\n_______________________________________________________\nfetchmail:x:116:65534::\/var\/lib\/fetchmail:\/bin\/false\n            ________________________________________\n____________________________________________________\nvde2-net:x:117:123::\/var\/run\/vde2:\/bin\/false\n           _________________________________\n____________________________________________\ntimidity:x:118:125:TiMidity++ MIDI sequencer service:\/etc\/timidity:\/bin\/false\n           __________________________________________________________________\n_____________________________________________________________________________\nepmd:x:119:128::\/var\/run\/epmd:\/bin\/false\n       _________________________________\n________________________________________\ndaemon:x:1:1:daemon:\/usr\/sbin:\/usr\/sbin\/nologin\n         ______________________________________\n_______________________________________________\nsystemd-timesync:x:120:129:systemd Time Synchronization,,,:\/run\/systemd:\/bin\/false\n                   _______________________________________________________________\n__________________________________________________________________________________\nsystemd-network:x:121:130:systemd Network Management,,,:\/run\/systemd\/netif:\/bin\/false\n                  ___________________________________________________________________\n_____________________________________________________________________________________\nsystemd-resolve:x:122:131:systemd Resolver,,,:\/run\/systemd\/resolve:\/bin\/false\n                  ___________________________________________________________\n_____________________________________________________________________________\nsystemd-bus-proxy:x:123:132:systemd Bus Proxy,,,:\/run\/systemd:\/bin\/false\n                    ____________________________________________________\n________________________________________________________________________\nproftpd:x:124:65534::\/run\/proftpd:\/bin\/false\n          __________________________________\n____________________________________________\nftp:x:125:65534::\/srv\/ftp:\/bin\/false\n      ______________________________\n____________________________________\n_apt:x:126:65534::\/nonexistent:\/bin\/false\n       __________________________________\n_________________________________________\nproxy:x:13:13:proxy:\/bin:\/usr\/sbin\/nologin\n        __________________________________\n__________________________________________\nbin:x:2:2:bin:\/bin:\/usr\/sbin\/nologin\n      ______________________________\n____________________________________\nwww-data:x:33:33:www-data:\/var\/www:\/usr\/sbin\/nologin\n           _________________________________________\n____________________________________________________\nsys:x:3:3:sys:\/dev:\/usr\/sbin\/nologin\n      ______________________________\n____________________________________\nbackup:x:34:34:backup:\/var\/backups:\/usr\/sbin\/nologin\n         ___________________________________________\n____________________________________________________\nlist:x:38:38:Mailing List Manager:\/var\/list:\/usr\/sbin\/nologin\n       ______________________________________________________\n_____________________________________________________________\nirc:x:39:39:ircd:\/var\/run\/ircd:\/usr\/sbin\/nologin\n      __________________________________________\n________________________________________________\ngnats:x:41:41:Gnats Bug-Reporting System (admin):\/var\/lib\/gnats:\/usr\/sbin\/nologin\n        _________________________________________________________________________\n_________________________________________________________________________________\nsync:x:4:65534:sync:\/bin:\/bin\/sync\n       ___________________________\n__________________________________\ngames:x:5:60:games:\/usr\/games:\/usr\/sbin\/nologin\n        _______________________________________\n_______________________________________________\nman:x:6:12:man:\/var\/cache\/man:\/usr\/sbin\/nologin\n      _________________________________________\n_______________________________________________\nnobody:x:65534:65534:nobody:\/nonexistent:\/usr\/sbin\/nologin\n         _________________________________________________\n__________________________________________________________\nlp:x:7:7:lp:\/var\/spool\/lpd:\/usr\/sbin\/nologin\n     _______________________________________\n____________________________________________\nmail:x:8:8:mail:\/var\/mail:\/usr\/sbin\/nologin\n       ____________________________________\n___________________________________________\nnews:x:9:9:news:\/var\/spool\/news:\/usr\/sbin\/nologin\n       __________________________________________\n_________________________________________________\n$sort -t: -k3 --debug \/etc\/passwd\n$sort -t: -k3 --debug \/etc\/passwd\nsort: using \u2018en_US.UTF-8\u2019 sorting rules\nroot:x:0:0:root:\/root:\/bin\/bash\n       ________________________\n_______________________________\njeffrin:x:1000:1000:Jeffrin Jose T,,,:\/home\/jeffrin:\/bin\/bash\n          ___________________________________________________\n_____________________________________________________________\nuuidd:x:100:101::\/run\/uuidd:\/bin\/false\n        ______________________________\n______________________________________\nuucp:x:10:10:uucp:\/var\/spool\/uucp:\/usr\/sbin\/nologin\n       ____________________________________________\n___________________________________________________\nDebian-exim:x:101:103::\/var\/spool\/exim4:\/bin\/false\n              ____________________________________\n__________________________________________________\nstatd:x:102:65534::\/var\/lib\/nfs:\/bin\/false\n        __________________________________\n__________________________________________\nsshd:x:103:65534::\/var\/run\/sshd:\/usr\/sbin\/nologin\n       __________________________________________\n_________________________________________________\nmessagebus:x:104:106::\/var\/run\/dbus:\/bin\/false\n             _________________________________\n______________________________________________\ncolord:x:105:109:colord colour management daemon,,,:\/var\/lib\/colord:\/bin\/false\n         _____________________________________________________________________\n______________________________________________________________________________\nusbmux:x:106:46:usbmux daemon,,,:\/home\/usbmux:\/bin\/false\n         _______________________________________________\n________________________________________________________\navahi:x:107:113:Avahi mDNS daemon,,,:\/var\/run\/avahi-daemon:\/bin\/false\n        _____________________________________________________________\n_____________________________________________________________________\npulse:x:108:114:PulseAudio daemon,,,:\/var\/run\/pulse:\/bin\/false\n        ______________________________________________________\n______________________________________________________________\nspeech-dispatcher:x:109:29:Speech Dispatcher,,,:\/var\/run\/speech-dispatcher:\/bin\/sh\n                    ______________________________________________________________\n__________________________________________________________________________________\nrtkit:x:110:116:RealtimeKit,,,:\/proc:\/bin\/false\n        _______________________________________\n_______________________________________________\nDebian-gdm:x:111:117:Gnome Display Manager:\/var\/lib\/gdm3:\/bin\/false\n             ______________________________________________________\n___________________________________________________________________\nsaned:x:112:118::\/var\/lib\/saned:\/bin\/false\n        __________________________________\n__________________________________________\nntp:x:113:120::\/home\/ntp:\/bin\/false\n      _____________________________\n___________________________________\ngeoclue:x:114:121::\/var\/lib\/geoclue:\/bin\/false\n          ____________________________________\n______________________________________________\ndnsmasq:x:115:65534:dnsmasq,,,:\/var\/lib\/misc:\/bin\/false\n          _____________________________________________\n_______________________________________________________\nfetchmail:x:116:65534::\/var\/lib\/fetchmail:\/bin\/false\n            ________________________________________\n____________________________________________________\nvde2-net:x:117:123::\/var\/run\/vde2:\/bin\/false\n           _________________________________\n____________________________________________\ntimidity:x:118:125:TiMidity++ MIDI sequencer service:\/etc\/timidity:\/bin\/false\n           __________________________________________________________________\n_____________________________________________________________________________\nepmd:x:119:128::\/var\/run\/epmd:\/bin\/false\n       _________________________________\n________________________________________\ndaemon:x:1:1:daemon:\/usr\/sbin:\/usr\/sbin\/nologin\n         ______________________________________\n_______________________________________________\nsystemd-timesync:x:120:129:systemd Time Synchronization,,,:\/run\/systemd:\/bin\/false\n                   _______________________________________________________________\n__________________________________________________________________________________\nsystemd-network:x:121:130:systemd Network Management,,,:\/run\/systemd\/netif:\/bin\/false\n                  ___________________________________________________________________\n_____________________________________________________________________________________\nsystemd-resolve:x:122:131:systemd Resolver,,,:\/run\/systemd\/resolve:\/bin\/false\n                  ___________________________________________________________\n_____________________________________________________________________________\nsystemd-bus-proxy:x:123:132:systemd Bus Proxy,,,:\/run\/systemd:\/bin\/false\n                    ____________________________________________________\n________________________________________________________________________\nproftpd:x:124:65534::\/run\/proftpd:\/bin\/false\n          __________________________________\n____________________________________________\nftp:x:125:65534::\/srv\/ftp:\/bin\/false\n      ______________________________\n____________________________________\n_apt:x:126:65534::\/nonexistent:\/bin\/false\n       __________________________________\n_________________________________________\nproxy:x:13:13:proxy:\/bin:\/usr\/sbin\/nologin\n        __________________________________\n__________________________________________\nbin:x:2:2:bin:\/bin:\/usr\/sbin\/nologin\n      ______________________________\n____________________________________\nwww-data:x:33:33:www-data:\/var\/www:\/usr\/sbin\/nologin\n           _________________________________________\n____________________________________________________\nsys:x:3:3:sys:\/dev:\/usr\/sbin\/nologin\n      ______________________________\n____________________________________\nbackup:x:34:34:backup:\/var\/backups:\/usr\/sbin\/nologin\n         ___________________________________________\n____________________________________________________\nlist:x:38:38:Mailing List Manager:\/var\/list:\/usr\/sbin\/nologin\n       ______________________________________________________\n_____________________________________________________________\nirc:x:39:39:ircd:\/var\/run\/ircd:\/usr\/sbin\/nologin\n      __________________________________________\n________________________________________________\ngnats:x:41:41:Gnats Bug-Reporting System (admin):\/var\/lib\/gnats:\/usr\/sbin\/nologin\n        _________________________________________________________________________\n_________________________________________________________________________________\nsync:x:4:65534:sync:\/bin:\/bin\/sync\n       ___________________________\n__________________________________\ngames:x:5:60:games:\/usr\/games:\/usr\/sbin\/nologin\n        _______________________________________\n_______________________________________________\nman:x:6:12:man:\/var\/cache\/man:\/usr\/sbin\/nologin\n      _________________________________________\n_______________________________________________\nnobody:x:65534:65534:nobody:\/nonexistent:\/usr\/sbin\/nologin\n         _________________________________________________\n__________________________________________________________\nlp:x:7:7:lp:\/var\/spool\/lpd:\/usr\/sbin\/nologin\n     _______________________________________\n____________________________________________\nmail:x:8:8:mail:\/var\/mail:\/usr\/sbin\/nologin\n       ____________________________________\n___________________________________________\nnews:x:9:9:news:\/var\/spool\/news:\/usr\/sbin\/nologin\n       __________________________________________\n_________________________________________________\n$\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$sort -t: -k3 &#8211;debug \/etc\/passwd sort: using \u2018en_US.UTF-8\u2019 sorting rules root:x:0:0:root:\/root:\/bin\/bash ________________________ _______________________________ jeffrin:x:1000:1000:Jeffrin Jose T,,,:\/home\/jeffrin:\/bin\/bash ___________________________________________________ _____________________________________________________________ uuidd:x:100:101::\/run\/uuidd:\/bin\/false ______________________________ ______________________________________ uucp:x:10:10:uucp:\/var\/spool\/uucp:\/usr\/sbin\/nologin ____________________________________________ ___________________________________________________ Debian-exim:x:101:103::\/var\/spool\/exim4:\/bin\/false ____________________________________ __________________________________________________ statd:x:102:65534::\/var\/lib\/nfs:\/bin\/false __________________________________ __________________________________________ sshd:x:103:65534::\/var\/run\/sshd:\/usr\/sbin\/nologin __________________________________________ _________________________________________________ messagebus:x:104:106::\/var\/run\/dbus:\/bin\/false _________________________________ ______________________________________________ colord:x:105:109:colord colour management daemon,,,:\/var\/lib\/colord:\/bin\/false _____________________________________________________________________ ______________________________________________________________________________ usbmux:x:106:46:usbmux daemon,,,:\/home\/usbmux:\/bin\/false _______________________________________________ ________________________________________________________ avahi:x:107:113:Avahi mDNS daemon,,,:\/var\/run\/avahi-daemon:\/bin\/false _____________________________________________________________ _____________________________________________________________________ pulse:x:108:114:PulseAudio daemon,,,:\/var\/run\/pulse:\/bin\/false ______________________________________________________ ______________________________________________________________ &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2016\/05\/19\/sample-hack-session-with-sort-command\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;sample hack session with sort command&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[83],"tags":[1463],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16488"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=16488"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16488\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=16488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=16488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=16488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}