Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let ls = cp.spawn("ssh", ["-R", "80:localhost:4200", "serveo.net"]);
- new Promise(function(resolve, reject) {
- ls.stdout.on("data", async function(data) {
- shellinabox.Localtunnel.URL = await data
- .toString()
- .split(" ")[3]
- .replace("n", "");
- resolve(shellinabox);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement