⬆️ only knows how to write shell
💻 Use bash (config) · ⌨️ Use archlinux
📫 Wannan reachout?
One-click register.
Home Page: https://warp-reg.vercel.app
License: GNU General Public License v3.0
⬆️ only knows how to write shell
💻 Use bash (config) · ⌨️ Use archlinux
📫 Wannan reachout?
I encountered an issue when running the warp-reg.sh
script, specifically at line 119, where it attempts to process hexadecimal numbers. It seems to fail with an "invalid hex number" error, leading to incomplete output with empty endpoint and reserved values.
Command Executed:
./warp-reg.sh
Expected Output:
A JSON object with valid "endpoint", "reserved_dec", "reserved_hex", and "reserved_str" values.
Actual Output:
{
"endpoint": {},
"reserved_dec": [0,,],
"reserved_hex": "0x",
"reserved_str": ""
}
Steps to Reproduce:
wget https://raw.githubusercontent.com/chise0713/warp-reg.sh/master/warp-reg.sh
chmod +x warp-reg.sh
./warp-reg.sh
Could you please look into this?
Thank you for your time and this useful script!
because python3 is very huge, and xxd is not always available on different operating systems; so please replace them with jq
[root@]# bash -c "$(curl -L warp-reg.vercel.app)"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 4142 100 4142 0 0 9061 0 --:--:-- --:--:-- --:--:-- 9061
Algorithm X25519 not found
unable to load key
140077918467984:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:707:Expecting: ANY PRIVATE KEY
ERROR: "reg" function returned with 1, exiting.
root@localhost:~# bash -c "$(curl -L warp-reg.vercel.app)"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2716 100 2716 0 0 3050 0 --:--:-- --:--:-- --:--:-- 17986
######################################################################## 100.0%
######################################################################## 100.0%
environment: line 17: python3: command not found
environment: line 22: xxd: command not found
environment: line 24: printf: 0x: invalid hex number
{
"endpoint":{
},
"reserved_dec": [0,,],
"reserved_hex": "0x",
"reserved_str": "",
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.