mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3186] how to hide token and http_pwd when using frpc on windows? #2559
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2559
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shabakett on GitHub (Nov 25, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3186
I try to pass
tokenandhttp_pwdtofrpc.exeusing a c# application, I set them as environment variables infrpc.inithen pass them to the process, but some tools likeProcess ExplorerandProcess Hackercan view those environment variables.hiding them is required when you have a server on the internet running frps and you need to run frpc on a machine (owned by another person) behind the nat.
is there any method to hide them?
can I use
P/Invoketo call frpc from c# program? this involves buildingfrpc.dlland I do not know if it will resolve thebig problemon windows: detecting golang binaries as virus bymicrosoft defenderand some other antiviruses.@Becods commented on GitHub (Nov 27, 2022):
Discard environment variables
Write these variables directly into frpc.ini
Then delete this configuration file the moment frpc starts successfully