immense / immense/Remotely

Include Server-Url dynamically (by patching)

Open
#399 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
5.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

I wonder if it would not be possible to include the Server-Url without completely recompiling the binaries.

Apart from low-level programming maybe there is the possibillity to replace some dummy-text by the server-url?

e.g. you put sth like this in the binary source code
```
$serverurl='##########'; // to be replaced
$dummy="";for ( $i=0;$i<9;$++){$dummy .= '#';} // recreate content from above
if ($serverurl == $dummy) { $serverurl = ""; } //if it is the dummy value ignore it
```
Now you can search the binary and replace "##########" by "https://remotely.one" or similar during installation and on request.

I have no idea if this is possible because of compression and/or sigatures of the binaries?

In Linux should possible to even use sed for that.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source file, test, or entry point; begin by locating how the server URL is embedded in the C#/.NET binaries and how installation produces them. Done means establishing whether post-build URL replacement is feasible without breaking compression or signatures, and defining the supported installation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.