Idea's idea activation service construction

There is an activation link on the idea activation website. This build is pure entertainment, and once again, please support the genuine if possible. Thank you.

Let's talk about the service construction, just to do a port forwarding, the real implementation is only known by Lanyu Daxian,,, I can't express it here, I am grateful that Daxian can let me wait for the dick to use the best ide. Not much to say To serve,

--------------------------win bat

@echo off

@Rem localhost

set l=0.0.0.0:8888

@Rem remote

set r=http://idea.lanyus.com:80

@Rem download

set d=https://github.com/ilanyu/ReverseProxy/releases/download/v1.4/ReverseProxy_windows_amd64.exe

@Rem filename

set f=ReverseProxy_windows_amd64.exe

@Rem file path

set p=%cd%\

set pf=%p%%f%

 

echo %pf%

if exist %pf% goto start

if not exist %pf% goto downloadfile

:downloadfile

 echo "ReverseProxy is downloading..."

 certutil.exe -urlcache -split -f %d%

 goto start

goto end

:start

echo "start..."

cd% p%

%f% -l %l% -r %r%

goto end

pause

 

 

-------------------------centos7 sh

#!/bin/bash

 

# localhost

l="0.0.0.0:8888"

# remote

r="http://idea.lanyus.com:80"

# download

d="https://github.com/ilanyu/ReverseProxy/releases/download/v1.4/ReverseProxy_linux_amd64"

# filename

f="ReverseProxy_linux_amd64"

# file path

p="/usr/bin/"

pf=""$p""$f""

 

if [ -f $pf ];then

 echo "start..."

else

 echo "ReverseProxy is downloading..."

 yum install wget

 wget -c -O $pf $d

be

chmod 555 $pf

 

cd $ p

 

./$f -l $l -r $r

 

The above is the construction process, is it very simple...Hahaha, in fact, I downloaded a file. This file is a script packaged by go into different platforms. This script does port forwarding.

Build under win,  

1 Create a txt file,

2 Paste the bat script

3 Change the suffix txt to bat

4 Double-click to execute. If 360 is installed, there will be a pop-up box, just allow it to run. This process will be a bit long. After all, it is downloaded from github and the command line download of win is quite slow. Of course, you can also download it yourself and save the file. Put it in the same-level directory of the script. Then execute it. Then there is a problem. Idea judges the local IP and LAN IP, which means that when you activate, the activation will fail and the address will be invalid.

Of course you can install a centos 7.x virtual machine,

1 Create a .sh script (vi active.sh)

2 Then apply the code to the centos script, and then save and exit (esc → shift +: → wq → enter)

3 Grant permissions (chmod 777 active.sh)

4 Execute sh active.sh

Then open your idea, select the license server and enter  http:// activation server ip:8888

The default port is 8888. Refer to the script file for details.

Finally, if you need to buy a server to play, please poke → 

https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=tqpvz8yl to
receive coupons.

 

Direct copy may be problematic, put a link

https://github.com/a983132370/ideactive

 

 

Guess you like

Origin blog.csdn.net/qq_36338555/article/details/83218518