{"id":11936,"date":"2024-09-28T23:43:04","date_gmt":"2024-09-28T21:43:04","guid":{"rendered":"https:\/\/monodes.com\/predaelli\/?p=11936"},"modified":"2024-09-28T23:43:04","modified_gmt":"2024-09-28T21:43:04","slug":"attacking-unix-systems-via-cups-part-i","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2024\/09\/28\/attacking-unix-systems-via-cups-part-i\/","title":{"rendered":"Attacking UNIX Systems via CUPS, Part I"},"content":{"rendered":"<blockquote><p>Hello friends, this is the first of two, possibly three (if and when I have time to finish the Windows research) writeups. We will start with targeting GNU\/Linux systems with an RCE. As someone who\u2019s<\/p><\/blockquote>\n<p>Source: <em><a href=\"https:\/\/www.evilsocket.net\/2024\/09\/26\/Attacking-UNIX-systems-via-CUPS-Part-I\/\">Attacking UNIX Systems via CUPS, Part I<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">Hello friends, this is the first of two, possibly three (if and when I have time to finish the Windows research) writeups. We will start with targeting GNU\/Linux systems with an RCE. As someone who\u2019s Source: Attacking UNIX Systems via CUPS, Part I<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2024\/09\/28\/attacking-unix-systems-via-cups-part-i\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federate","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-11936","post","type-post","status-publish","format-standard","hentry","category-senza-categoria"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-36w","jetpack-related-posts":[{"id":5064,"url":"https:\/\/monodes.com\/predaelli\/2018\/12\/13\/how-to-force-ssh-client-to-use-only-password-auth-unix-linux-stack-exchange\/","url_meta":{"origin":11936,"position":0},"title":"How to force ssh client to use only password auth? &#8211; Unix &#038; Linux Stack Exchange","author":"Paolo Redaelli","date":"2018-12-13","format":false,"excerpt":"How to force ssh client to use only password auth? - Unix & Linux Stack Exchange ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no example.com","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7662,"url":"https:\/\/monodes.com\/predaelli\/2020\/10\/05\/advanced-unix-commands-to-boost-your-productivity\/","url_meta":{"origin":11936,"position":1},"title":"Advanced Unix commands to boost your productivity","author":"Paolo Redaelli","date":"2020-10-05","format":"status","excerpt":"Advanced Unix commands to boost your productivity The more you learn the better you get vi or better Vim find awk alias netstat Well, I can say that I do use them all except awk which I usually reimplement poorly using a combination of grep, sed and the like.","rel":"","context":"In &quot;Mood&quot;","block_context":{"text":"Mood","link":"https:\/\/monodes.com\/predaelli\/category\/mood\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5440,"url":"https:\/\/monodes.com\/predaelli\/2019\/04\/05\/unix-linux-trick-cd-back-to-the-previous-directory\/","url_meta":{"origin":11936,"position":2},"title":"Unix\/Linux trick: &#8216;cd&#8217; back to the previous directory","author":"Paolo Redaelli","date":"2019-04-05","format":false,"excerpt":"You know when you\u2019re in a very \u201cdeep\u201d directory, such as \/usr\/local\/src\/this\/that\/thatother, and you type \u201ccd\u201d and press enter by mistake ((happens a lot when you thin\u2026 Source: Unix\/Linux trick: 'cd' back to the previous directory Shortly, is as simple as \u00abcd -\u00bb. Since true knowledge lies in manpages, here's\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1895,"url":"https:\/\/monodes.com\/predaelli\/2016\/11\/15\/50-most-frequently-used-unix-linux-commands-with-examples\/","url_meta":{"origin":11936,"position":3},"title":"50 Most Frequently Used UNIX \/ Linux Commands (With Examples)","author":"Paolo Redaelli","date":"2016-11-15","format":false,"excerpt":"Several pearl in 50 Most Frequently Used UNIX \/ Linux Commands (With Examples) Add line number for all non-empty-lines in a file $ sed '\/.\/=' thegeekstuff.txt | sed 'N; s\/\\n\/ \/' Remove duplicate lines using awk $ awk '!($0 in array) { array[$0]; print }' temp \u00a0 Print all lines\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11213,"url":"https:\/\/monodes.com\/predaelli\/2024\/01\/16\/freebsd-handbook\/","url_meta":{"origin":11936,"position":4},"title":"FreeBSD Handbook","author":"Paolo Redaelli","date":"2024-01-16","format":false,"excerpt":"FreeBSD Handbook is a primer for any Unix related operative system. A must read to turn a noob into a pro","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":13380,"url":"https:\/\/monodes.com\/predaelli\/2025\/05\/20\/13380\/","url_meta":{"origin":11936,"position":5},"title":"Those who don't understand Unix\u2026","author":"Paolo Redaelli","date":"2025-05-20","format":"quote","excerpt":"Those who don't understand Unix are condemned to reinvent it, poorly. Henry Spencer, in Introducing Regular Expressions (2012) by Michael Fitzgerald, via wikiquote entry on Unix","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2019\/11\/paper.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/11936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=11936"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/11936\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=11936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=11936"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=11936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}