Mythic does not put the edited contents directly in interactive tasking.
It uploads the editor contents as a tracked Mythic file, then sends that file_id, the last known SHA-1, and a request ID to the agent.
Save anyway is a deliberate force-overwrite path. Review the staged file and the agent-reported conflict before using it.
The editor appears only for a command that implements the file-editor interactive message protocol.
Commands that merely return file data or ordinary interactive terminal output continue to use their existing renderers.
Agent developers should follow the File Editor Protocol.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mythic","colors":{"primary":"#6D70A7","light":"#50B071","dark":"#6D70A7"},"logo":{"light":"https://mintcdn.com/specterops-3/3s2YOrygh-Ut9KJD/logo/mythic.png?fit=max\u0026auto=format\u0026n=3s2YOrygh-Ut9KJD\u0026q=85\u0026s=9dc129a1531ec4f44de0b0e79ad03679","dark":"https://mintcdn.com/specterops-3/3s2YOrygh-Ut9KJD/logo/mythic.png?fit=max\u0026auto=format\u0026n=3s2YOrygh-Ut9KJD\u0026q=85\u0026s=9dc129a1531ec4f44de0b0e79ad03679","href":"https://docs.mythic-c2.net/"},"favicon":"https://mintcdn.com/specterops-3/I6wn8nE0SX0nqRFZ/favicon.png?fit=max\u0026auto=format\u0026n=I6wn8nE0SX0nqRFZ\u0026q=85\u0026s=20b11a663bf17cfc5bedb978b1f77b77","appearance":{"default":"dark"},"background":{"decoration":"windows"},"navbar":{"links":[{"href":"https://github.com/its-a-feature/Mythic","label":"Get the Code"}],"primary":{"type":"button","label":"Issues","href":"https://github.com/its-a-feature/Mythic/issues"}},"footer":{"socials":{"x":"https://twitter.com/its_a_feature_","github":"https://github.com/its-a-feature/Mythic","slack":"https://slack.specterops.io"}},"fonts":{"heading":{"family":"Nunito Sans","weight":900,"source":"https://fonts.gstatic.com/s/nunitosans/v15/pe0TMImSLYBIv1o4X1M8ce2xCx3yop4tQpF_MeTm0lfGWVpNn64CL7U8upHZIbMV51Q42ptCp7t1R-s.woff2","format":"woff2"}},"styling":{"codeblocks":"system","latex":false},"integrations":{"plausible":{"domain":"docs.mythic-c2.net"}},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/specterops-3/3s2YOrygh-Ut9KJD/logo/thumbnail.png?fit=max\u0026auto=format\u0026n=3s2YOrygh-Ut9KJD\u0026q=85\u0026s=c1d77133045e590ac2a1e944608a0a37"},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/its-a-feature/Mythic"},{"anchor":"#mythic Community","icon":"slack","href":"https://slack.specterops.io"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"specterops-3","hasAudioNarration":false,"actualSubdomain":"specterops-3","customDomains":["docs.mythic-c2.net"],"gitSource":{"type":"github","owner":"mythicmeta","repo":"mintlify_documentation","deployBranch":"primary","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a96ebe38cf6faeffe797f36","collectionId":"1e9319b1-0b78-415d-bb0b-3066e8fc4515","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a96ebe38cf6faeffe797f36"},"feedback":{"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6a96ebe38cf6faeffe797f36","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Development","count":153},{"language":"default","tag":"overview","count":153},{"language":"default","tag":"Documentation","count":126},{"language":"default","tag":"Overview","count":111},{"language":"default","tag":"1. Payload Type Development","count":58},{"language":"default","tag":"Operational Pieces","count":58},{"language":"default","tag":"Hooking Features","count":42},{"language":"default","tag":"2. C2 Development","count":28},{"language":"default","tag":"4. Create Tasking \u0026 Comms Format","count":22},{"language":"default","tag":"Agent Messages","count":20}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"version-4.0/operational-pieces/file-editor","slug":"/version-4.0/operational-pieces/file-editor","pageMetadata":{"title":"Interactive File Editor","description":"Edit remote UTF-8 text through an agent with history and conflict detection","href":"/version-4.0/operational-pieces/file-editor"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Edit remote UTF-8 text through an agent with history and conflict detection\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,OptimizedImage,Warning}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Mythic 4.0 can render an interactive file editor inside task output when an agent command advertises `,_jsx(_components.code,{children:`task_response:file_editor`}),`.`]}),`\n`,_jsx(_components.p,{children:`The editor supports:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`UTF-8 text files up to 2 MB;`}),`\n`,_jsx(_components.li,{children:`save, refresh, and explicit close actions;`}),`\n`,_jsx(_components.li,{children:`version history for snapshots returned by the agent;`}),`\n`,_jsx(_components.li,{children:`SHA-1 based conflict detection;`}),`\n`,_jsx(_components.li,{children:`review of the exact staged edit before a forced overwrite;`}),`\n`,_jsx(_components.li,{children:`read-only history after the parent task completes.`}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/specterops-3/UWQzb5_oCXJhRmtv/images/version-4.0/operational-pieces-file-editor.png?fit=max\u0026auto=format\u0026n=UWQzb5_oCXJhRmtv\u0026q=85\u0026s=be7be8b248f65c17c5251d25244824c5`,\"data-og-width\":`1116`,width:`1116`,\"data-og-height\":`552`,height:`552`,\"data-path\":`images/version-4.0/operational-pieces-file-editor.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/specterops-3/UWQzb5_oCXJhRmtv/images/version-4.0/operational-pieces-file-editor.png?w=280\u0026fit=max\u0026auto=format\u0026n=UWQzb5_oCXJhRmtv\u0026q=85\u0026s=12e54477c7c02b0313344653a25dae84 280w, https://mintcdn.com/specterops-3/UWQzb5_oCXJhRmtv/images/version-4.0/operational-pieces-file-editor.png?w=560\u0026fit=max\u0026auto=format\u0026n=UWQzb5_oCXJhRmtv\u0026q=85\u0026s=73c726846135b88413df60b736b8489c 560w, https://mintcdn.com/specterops-3/UWQzb5_oCXJhRmtv/images/version-4.0/operational-pieces-file-editor.png?w=840\u0026fit=max\u0026auto=format\u0026n=UWQzb5_oCXJhRmtv\u0026q=85\u0026s=fe720ce2246fe3a3a13d00067cff1d07 840w, https://mintcdn.com/specterops-3/UWQzb5_oCXJhRmtv/images/version-4.0/operational-pieces-file-editor.png?w=1100\u0026fit=max\u0026auto=format\u0026n=UWQzb5_oCXJhRmtv\u0026q=85\u0026s=bb92f40c20733631f7a5c1efc62e705e 1100w, https://mintcdn.com/specterops-3/UWQzb5_oCXJhRmtv/images/version-4.0/operational-pieces-file-editor.png?w=1650\u0026fit=max\u0026auto=format\u0026n=UWQzb5_oCXJhRmtv\u0026q=85\u0026s=692941c523d173cd5a5219a56d80df46 1650w, https://mintcdn.com/specterops-3/UWQzb5_oCXJhRmtv/images/version-4.0/operational-pieces-file-editor.png?w=2500\u0026fit=max\u0026auto=format\u0026n=UWQzb5_oCXJhRmtv\u0026q=85\u0026s=652dd316f5641f967db7b60e29426050 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`save-flow`,children:`Save flow`}),`\n`,_jsxs(_components.p,{children:[`Mythic does not put the edited contents directly in interactive tasking.\nIt uploads the editor contents as a tracked Mythic file, then sends that `,_jsx(_components.code,{children:`file_id`}),`, the last known SHA-1, and a request ID to the agent.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Save anyway`}),` is a deliberate force-overwrite path. Review the staged file and the agent-reported conflict before using it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`agent-support`,children:`Agent support`}),`\n`,_jsxs(_components.p,{children:[`The editor appears only for a command that implements the file-editor interactive message protocol.\nCommands that merely return file data or ordinary interactive terminal output continue to use their existing renderers.\nAgent developers should follow the `,_jsx(_components.a,{href:`/version-4.0/customizing/payload-type-development/create_tasking/agent-side-coding/file-editor-protocol`,children:`File Editor Protocol`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Interactive File Editor","description":"Edit remote UTF-8 text through an agent with history and conflict detection","href":"/version-4.0/operational-pieces/file-editor"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Save flow","slug":"save-flow","depth":2,"children":[]},{"title":"Agent support","slug":"agent-support","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"specterops-3","siteName":"Mythic","title":"Interactive File Editor - Mythic","navMaps":{"firstHrefInVersion":{"version 4.0":{"href":"/version-4.0/operational-pieces/file-editor","matchLevel":0},"version 3.3":{"href":"/home","matchLevel":2}},"firstHrefInLanguage":{}},"lastModified":"2026-08-03T05:40:04.400Z","originalFileLocation":"version-4.0/operational-pieces/file-editor.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Edit remote UTF-8 text through an agent with history and conflict detection\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mythic\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/specterops-3/CtO7omxk-GskQdbQ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/specterops-3/CtO7omxk-GskQdbQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/specterops-3/CtO7omxk-GskQdbQ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/specterops-3/CtO7omxk-GskQdbQ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/specterops-3/CtO7omxk-GskQdbQ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/specterops-3/CtO7omxk-GskQdbQ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/specterops-3/CtO7omxk-GskQdbQ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/specterops-3/CtO7omxk-GskQdbQ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/specterops-3/CtO7omxk-GskQdbQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Interactive File Editor - Mythic\">\u003cmeta data-mint-head property=\"og:description\" content=\"Edit remote UTF-8 text through an agent with history and conflict detection\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mythic\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mythic-c2.net/version-4.0/operational-pieces/file-editor\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://specterops-3.mintlify.app/_mintlify/api/og/v2?division=Operational+Pieces\u0026amp;title=Interactive+File+Editor\u0026amp;description=Edit+remote+UTF-8+text+through+an+agent+with+history+and+conflict+detection\u0026amp;theme=cfca8a284e14b6c3ed528a84\u0026amp;signature=6f57df86115a7b96b7f1f0a287f4150bc6e0b26d15ee7631cba49811b2516cf8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Interactive File Editor - Mythic\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Edit remote UTF-8 text through an agent with history and conflict detection\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://specterops-3.mintlify.app/_mintlify/api/og/v2?division=Operational+Pieces\u0026amp;title=Interactive+File+Editor\u0026amp;description=Edit+remote+UTF-8+text+through+an+agent+with+history+and+conflict+detection\u0026amp;theme=cfca8a284e14b6c3ed528a84\u0026amp;signature=6f57df86115a7b96b7f1f0a287f4150bc6e0b26d15ee7631cba49811b2516cf8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/specterops-3/CtO7omxk-GskQdbQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mythic\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6D70A7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mythic-c2.net/version-4.0/operational-pieces/file-editor\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/version-4.0/operational-pieces/file-editor.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mythic-c2.net/#organization\",\"name\":\"Mythic\",\"url\":\"https://docs.mythic-c2.net\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/specterops-3/3s2YOrygh-Ut9KJD/logo/mythic.png?fit=max\u0026auto=format\u0026n=3s2YOrygh-Ut9KJD\u0026q=85\u0026s=9dc129a1531ec4f44de0b0e79ad03679\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mythic-c2.net#website\",\"name\":\"Mythic\",\"url\":\"https://docs.mythic-c2.net\",\"publisher\":{\"@id\":\"https://docs.mythic-c2.net/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mythic-c2.net/version-4.0/operational-pieces/file-editor#webpage\",\"url\":\"https://docs.mythic-c2.net/version-4.0/operational-pieces/file-editor\",\"name\":\"Interactive File Editor\",\"description\":\"Edit remote UTF-8 text through an agent with history and conflict detection\",\"dateModified\":\"2026-08-03T05:40:04.400Z\",\"isPartOf\":{\"@id\":\"https://docs.mythic-c2.net#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mythic-c2.net/version-4.0/operational-pieces/file-editor#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mythic-c2.net/version-4.0/operational-pieces/file-editor#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Overview\",\"item\":\"https://docs.mythic-c2.net/version-4.0/home\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Operational Pieces\",\"item\":\"https://docs.mythic-c2.net/version-4.0/operational-pieces\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Interactive File Editor\",\"item\":\"https://docs.mythic-c2.net/version-4.0/operational-pieces/file-editor\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.mythic-c2.net/version-4.0/operational-pieces/file-editor#article\",\"headline\":\"Interactive File Editor\",\"name\":\"Interactive File Editor\",\"description\":\"Edit remote UTF-8 text through an agent with history and conflict detection\",\"url\":\"https://docs.mythic-c2.net/version-4.0/operational-pieces/file-editor\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mythic-c2.net/version-4.0/operational-pieces/file-editor#webpage\"},\"dateModified\":\"2026-08-03T05:40:04.400Z\",\"publisher\":{\"@id\":\"https://docs.mythic-c2.net/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mythic-c2.net#website\"}}]}\u003c/script>","siteName":"Mythic","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/its-a-feature/Mythic"},{"anchor":"#mythic Community","icon":"slack","href":"https://slack.specterops.io"}]},"versions":[{"version":"version 4.0","tabs":[{"tab":"Documentation","groups":[{"group":"Overview","pages":[{"title":"Mythic 4.0","href":"/version-4.0/home"},{"title":"Operators","href":"/version-4.0/operators"},{"group":"Installation","pages":[{"title":"Overview","href":"/version-4.0/installation"},{"title":"Connecting","href":"/version-4.0/installation/connecting"},{"title":"A note about containers","href":"/version-4.0/installation/a-note-about-containers"},{"title":"Offline Installation","href":"/version-4.0/installation/offline-installation"},{"title":"Updating Mythic","href":"/version-4.0/installation/updating-mythic"}]},{"title":"Installed Service Documentation","href":"/version-4.0/internal-documentation"},{"title":"Quick Usage","href":"/version-4.0/quick-usage"},{"group":"Operational Pieces","pages":[{"title":"Operator Guide","href":"/version-4.0/operational-pieces"},{"title":"MITRE ATT\u0026CK","href":"/version-4.0/operational-pieces/mitre-att-and-ck"},{"title":"Operations","href":"/version-4.0/operational-pieces/operations"},{"title":"Operation Chat","href":"/version-4.0/operational-pieces/operation-chat"},{"title":"Operator Aliases","href":"/version-4.0/operational-pieces/operator-aliases"},{"title":"Browser Scripts","href":"/version-4.0/operational-pieces/browser-scripts"},{"title":"Active Callbacks","href":"/version-4.0/operational-pieces/active-callbacks"},{"title":"Files","description":"Track, preview, edit, resume, and download operation files.","href":"/version-4.0/operational-pieces/files"},{"title":"Interactive File Editor","href":"/version-4.0/operational-pieces/file-editor"},{"title":"Search","description":null,"href":"/version-4.0/operational-pieces/search"},{"title":"File Browser","href":"/version-4.0/operational-pieces/file-browser"},{"title":"Socks Proxy","href":"/version-4.0/operational-pieces/socks-proxy"},{"title":"Credentials","href":"/version-4.0/operational-pieces/credentials"},{"title":"Comments","href":"/version-4.0/operational-pieces/comments"},{"title":"Tags","href":"/version-4.0/operational-pieces/tags"},{"title":"Expanded Callbacks","href":"/version-4.0/operational-pieces/split-callbacks"},{"title":"Screenshots","href":"/version-4.0/operational-pieces/screenshots"},{"title":"Event Feed","href":"/version-4.0/operational-pieces/event-feed"},{"group":"Understanding Commands","pages":[{"title":"Overview","href":"/version-4.0/operational-pieces/understanding-commands"},{"title":"Basic Information","href":"/version-4.0/operational-pieces/understanding-commands/basic-information"},{"title":"Parameters","href":"/version-4.0/operational-pieces/understanding-commands/parameters"},{"title":"Tasking References","href":"/version-4.0/operational-pieces/understanding-commands/tasking-references"},{"title":"MITRE ATT\u0026CK in Commands","href":"/version-4.0/operational-pieces/understanding-commands/mitre-att-and-ck"}]},{"group":"Payload Types","pages":[{"title":"Overview","href":"/version-4.0/operational-pieces/payload-types"},{"title":"Containers","href":"/version-4.0/operational-pieces/payload-types/containers"}]},{"group":"C2 Profiles","pages":[{"title":"Overview","href":"/version-4.0/operational-pieces/c2-profiles"},{"title":"C2 Server Utilities","href":"/version-4.0/operational-pieces/c2-profiles/opsec-checks"},{"title":"Egress vs P2P","href":"/version-4.0/operational-pieces/c2-profiles/egress-vs-p2p"},{"title":"HTTP","href":"/version-4.0/operational-pieces/c2-profiles/http"},{"title":"Save Parameters","href":"/version-4.0/operational-pieces/c2-profiles/save-parameters"}]},{"title":"API Tokens","href":"/version-4.0/operational-pieces/api-tokens"}]},{"group":"Message Flow","pages":[{"title":"Overview","href":"/version-4.0/message-flow"},{"title":"Building Payloads","href":"/version-4.0/message-flow/building-payloads"},{"title":"Agent Sends Message","href":"/version-4.0/message-flow/agent-sends-message"},{"title":"File Upload Mythic->Agent","href":"/version-4.0/message-flow/file-upload-mythic-greater-than-agent"},{"title":"File Download Agent → Mythic","href":"/version-4.0/message-flow/file-download-agent-greater-than-mythic"},{"title":"P2P Messages","href":"/version-4.0/message-flow/p2p-messages"},{"title":"Operator Submits Tasking","href":"/version-4.0/message-flow/operator-submits-tasking"},{"title":"Authenticated Container RPC","href":"/version-4.0/message-flow/container-rpc-authentication"}]},{"group":"Reporting","pages":[{"title":"Overview","href":"/version-4.0/reporting"},{"title":"Artifacts","href":"/version-4.0/reporting/artifacts"},{"title":"MITRE ATT\u0026CK","href":"/version-4.0/reporting/mitre-att-and-ck"},{"title":"Reports","href":"/version-4.0/reporting/reports"}]},{"title":"Presentations / Webinars","href":"/version-4.0/presentations-webinars"},{"title":"Common Errors","href":"/version-4.0/common-errors"}]},{"group":"Common Questions and Answers","pages":[{"title":"FAQ / Troubleshooting Tips","href":"/version-4.0/common-questions-and-answers/faq-troubleshooting-tips"},{"title":"Change Log","href":"/version-4.0/common-questions-and-answers/change-log"}]},{"group":"Updating","pages":[{"title":"Mythic 3.4 -> 4.0 Updates","sidebarTitle":"Mythic 3.4 -> 4.0 Updates","href":"/version-4.0/updating/mythic-3.4-greater-than-4.0-updates"},{"title":"Mythic 3.3->3.4 Updates","href":"/version-4.0/updating/mythic-3.3-greater-than-3.4-updates"},{"title":"Mythic 3.2->3.3 Updates","href":"/version-4.0/updating/mythic-3.2-greater-than-3.3-updates"},{"group":"Mythic 2.3 -> 3.0 Updates","pages":[{"title":"Overview","href":"/version-4.0/updating/mythic-2.3-greater-than-3.0-updates"},{"title":"Agents 2.3 -> 3.0","href":"/version-4.0/updating/mythic-2.3-greater-than-3.0-updates/agents-2.3-greater-than-3.0"}]},{"group":"Mythic 2.2 -> 2.3 Updates","pages":[{"title":"Overview","href":"/version-4.0/updating/mythic-2.2-greater-than-2.3-updates"},{"title":"Agents 2.2 -> 2.3","href":"/version-4.0/updating/mythic-2.2-greater-than-2.3-updates/agents-2.2-greater-than-2.3"}]},{"group":"Mythic 2.1 -> 2.2 Updates","pages":[{"title":"Mythic 2.1 -> 2.2 Updates","href":"/version-4.0/updating/mythic-2.1-greater-than-2.2-updates"},{"group":"Agents 2.1.* -> 2.2.8","pages":[{"title":"Overview","href":"/version-4.0/updating/mythic-2.1-greater-than-2.2-updates/agents-2.1.-greater-than-2.2.2"},{"title":"MythicRPC","href":"/version-4.0/updating/mythic-2.1-greater-than-2.2-updates/agents-2.1.-greater-than-2.2.2/mythicrpc"}]}]}]}]},{"tab":"GraphQL API","pages":[{"title":"GraphQL API","href":"/version-4.0/scripting/home"}]},{"tab":"Development","pages":[{"title":"Development","href":"/version-4.0/customizing/customizing-public-agent"}]},{"tab":"MythicRPC","pages":[{"title":"MythicRPC","href":"/version-4.0/mythicrpc/mythicrpc"}]}]},{"version":"version 3.3","pages":[{"title":"version 3.3","href":"/home"}]},{"version":"version 3.0","tabs":[{"tab":"Documentation"}]},{"version":"version 2.3","tabs":[{"tab":"Documentation"}]}]},"basePath":"","title":"Interactive File Editor - Mythic","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-DXXFP6nH.js","DynamicMarkdown-B54_zNBF.js","zoom-image-lightbox-BG6oD64b.js","lightbox-handle-r17bVUz3.js"]}