Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo + missing sudo + smushed together commands #2

Open
RiccardoRiglietti opened this issue Dec 24, 2021 · 1 comment
Open

Typo + missing sudo + smushed together commands #2

RiccardoRiglietti opened this issue Dec 24, 2021 · 1 comment

Comments

@RiccardoRiglietti
Copy link

RiccardoRiglietti commented Dec 24, 2021

Compile the malloc() interceptor shared object library:

gcc -O2 -Wall -o hamachid-patcher.so -shared hamachid-patcher.cc
^ double cc instead of c in the last filename

Rename /opt/logmein-hamachi/bin/hamachid to /opt/logmein-hamachi/bin/hamachid.org

mv /opt/logmein-hamachi/bin/hamachid /opt/logmein-hamachi/bin/hamachid.org

^^^
Missing sudo

cp hamachid-patcher.so /opt/logmein-hamachi/bin/ cp hamachid /opt/logmein-hamachi/bin/

^^^
I think these should be 2 commands not one, also missing sudo.

/etc/init.d/logmein-hamachi stop /etc/init.d/logmein-hamachi start

^^^
I think these should be 2 commands not one, also missing sudo

Also please add code formatting to codes for the terminal with the <> button in github code editor. Thanks a lot for your effort :)

@ejtagle
Copy link
Owner

ejtagle commented Dec 25, 2021

Compile the malloc() interceptor shared object library:

gcc -O2 -Wall -o hamachid-patcher.so -shared hamachid-patcher.cc ^ double cc instead of c in the last filename

Rename /opt/logmein-hamachi/bin/hamachid to /opt/logmein-hamachi/bin/hamachid.org

mv /opt/logmein-hamachi/bin/hamachid /opt/logmein-hamachi/bin/hamachid.org

^^^ Missing sudo

cp hamachid-patcher.so /opt/logmein-hamachi/bin/ cp hamachid /opt/logmein-hamachi/bin/

^^^ I think these should be 2 commands not one, also missing sudo.

/etc/init.d/logmein-hamachi stop /etc/init.d/logmein-hamachi start

^^^ I think these should be 2 commands not one, also missing sudo

Also please add code formatting to codes for the terminal with the <> button in github code editor. Thanks a lot for your effort :)

Probably right. I did compile and install as root, that is why it was not required for me...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants