{"id":21076489,"url":"https://github.com/phrozenio/run-as-attached-networked","last_synced_at":"2026-02-16T14:04:09.122Z","repository":{"id":110104441,"uuid":"264996183","full_name":"PhrozenIO/run-as-attached-networked","owner":"PhrozenIO","description":"RunAsAttached is a program to run a console as another user and keep new console attached to caller console. Support reverse shell mode (Ex: Netcat)","archived":false,"fork":false,"pushed_at":"2022-12-25T16:43:47.000Z","size":1428,"stargazers_count":76,"open_issues_count":0,"forks_count":18,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-21T11:05:39.960Z","etag":null,"topics":["delphi","pascal","penetration-testing","remote-access","runas","runasadmin"],"latest_commit_sha":null,"homepage":"","language":"Pascal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PhrozenIO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-05-18T16:23:14.000Z","updated_at":"2025-04-11T01:21:53.000Z","dependencies_parsed_at":"2023-05-21T14:52:54.662Z","dependency_job_id":null,"html_url":"https://github.com/PhrozenIO/run-as-attached-networked","commit_stats":null,"previous_names":["phrozenio/run-as-attached-networked"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PhrozenIO/run-as-attached-networked","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenIO%2Frun-as-attached-networked","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenIO%2Frun-as-attached-networked/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenIO%2Frun-as-attached-networked/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenIO%2Frun-as-attached-networked/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhrozenIO","download_url":"https://codeload.github.com/PhrozenIO/run-as-attached-networked/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenIO%2Frun-as-attached-networked/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275200781,"owners_count":25422769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-15T02:00:09.272Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["delphi","pascal","penetration-testing","remote-access","runas","runasadmin"],"created_at":"2024-11-19T19:28:39.357Z","updated_at":"2026-02-16T14:04:04.076Z","avatar_url":"https://github.com/PhrozenIO.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local version\n\nYou can find another variant of this program which doesn't requires Networking function and also compatible with any application like Netcat, Telnet etc... here : https://github.com/DarkCoderSc/run-as-attached-local\n\nRunAsAttached (Local) version is more stable.\n\nThe goal of Networked version was to demonstrate inter-process communication using Socket programming.\n\n# RunAsAttached (Networked) - 32bit / 64bit\n\nRunAsAttached is a program to run a console as another user and keep new console attached to caller console. Support reverse shell mode (Ex: Netcat)\n\n## Demo video (Click on bellow image)\n\n[![Alt text](http://i3.ytimg.com/vi/nT8ub6Q1R0c/maxresdefault.jpg)](https://www.youtube.com/watch?v=nT8ub6Q1R0c)\n\n## Changelogs\n\n### 18/05/2020\n\n- First release\n\n### 20/05/2020\n\n- Major bug fixed when using Netcat / Telnet etc..\n- Stability improved\n\n## Description\n\nUnlike on UNIX based systems, on Microsoft Windows you can't run command as another user without spawning a new process then a new console window.\n\nThis is quite annoying while doing Penetration Testing but not only!\n\nThis application is a \"hack\" to run a new console attached to callers console. This is one method to achieve that goal.\n\nThis method is using Client / Server architecture to communicate between two processes. By default it will create a local server (listening on localhost and random port above 50 000) but you can decided to connect back to another address/port (Ex: a Netcat listener)\n\n## Notes\n\nIt is a beta release, it is working fine, but many things requires some optimization including:\n\n* Networking: This is the first technique that comes to my mind for different reasons, I will dig more about a better way. The main issue encoutered is related to disconnection. If remote conection is unexpectly (dirty) closed, it may not know about that, this is mainly because of the way I designed how I handled both Stdout/Stderr and Networking. I have some good ideas to solve that issue. It is still considered as minor, could be annoying tho.\n\n* Argument Parsing: I will enhance the clarity of that part. \n\n## What you will learn\n\nEven if you don't find useful this program, you may find some interesting piece of codes:\n\n- Winsock2 Programming\n- Global Mutex (Cross Users)\n- Threading\n- Windows API\n- Pipes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrozenio%2Frun-as-attached-networked","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphrozenio%2Frun-as-attached-networked","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrozenio%2Frun-as-attached-networked/lists"}