Skip to content

Instantly share code, notes, and snippets.

@cho0o0
Last active June 18, 2024 20:17
Show Gist options
  • Save cho0o0/1b8ef91001919646a55950a08cb132be to your computer and use it in GitHub Desktop.
Save cho0o0/1b8ef91001919646a55950a08cb132be to your computer and use it in GitHub Desktop.
Generate Outline access key based on Shadowsocks infomation
const generateAccesskey = (method, password, ip, port) => {
const firstPart = btoa(`${method.toLowerCase()}:${password}`)
const secondPart = `${ip}:${port}`
const accesskey = `ss://${firstPart}@${secondPart}`
return accesskey
}
@RubyKyiShwan
Copy link

rubykyishwan

@emilymyat
Copy link

ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTMwNTp5WUxWMW9jU3ZzSlc%3D@185.189.112.240:12765/?outline=1

@emilymyat
Copy link

Emilymyat

@onelion345
Copy link

please give me Outline key

@joaoamigo
Copy link

Give me OutlineKey Pls!!!

@zigantm
Copy link

zigantm commented Sep 17, 2021

Outline plis🦁

@i0Z3R0
Copy link

i0Z3R0 commented Feb 28, 2022

@onelion345 @joaoamigo @zigantm
You have to have a server, just run the script in like the Console of Chrome.
Paste the script in the console, press enter.
Run generateAccesskey(method, password, ip, port)
For example, generateAccesskey("aes-256-gcm", "Password1!", "127.0.0.1", "8080")
Then you'll see something like 'ss://XXXXXXXXXXXXXXXX=@127.0.0.1:8080' or something like that, and that's the access key.

@Mina634
Copy link

Mina634 commented Feb 5, 2023

Plz give me outline keys

@iamryanchia
Copy link

Save your time! if outline warnes invalid access key, check the cipher (method) passed to function is chacha20-ietf-poly1305, this is critical.

As a note, AEAD_CHACHA20_POLY1305 is a alias of chacha20-ietf-poly1305.

@pooriya5
Copy link

Please give me outline key

@kyaygyi
Copy link

kyaygyi commented Jun 17, 2024

vလိုင်းမကောင်းလို့

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment