Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
salien-script-js
Advanced tools
A easy to install, run and update Node.js script for the Steam salien mini-game.
👽 A easy to install, run and update Node.js script for the Steam salien mini-game.
A Node.js implementation of https://github.com/SteamDatabase/SalienCheat by xPaw with additional features!
👽 Same logic as the PHP version (we almost have parity)
Note: We'll try our best to keep this version up to date with the PHP and other versions! Suggestions welcome.
"token":"xxxxxxxx"
. Copy whatever is inside the second quotes, (e.g. xxxxxxxx
).powershell.exe
> Enter)npm install -g salien-script-js
to install this project.salien-script-js --token xxxxxxxx
where xxxxxxxx
is your token from step 3.Remeber to drop us a ⭐ star on the project if you appreciate this script!
npm i -g salien-script-js
Easy right?
If you'd like to represent a specific steam group, simply pass the --group
option with the ID of the group.
salien-script-js --token xxxxxxxx --group 123456789
You can get your group id by going to https://steamcommunity.com/groups/YOUR_GROUP_NAME_HERE/memberslistxml/?xml=1 and replacing YOUR_GROUP_NAME_HERE
with the group name shown at the end of your groups url.
You must be a member of a group to represent that group!
If you'd like to team up with an established larger group please consider using either:
103582791462557324
103582791434298690
103582791454524084
Simply open another PowerShell window and run salien-script-js --token yyyyyyyy --name "name of this script"
where yyyyyyyy
is your other accounts token and name of this script
if what you'd like to see in the log outputs.
Usage:
salien-script-js [options]
Options:
--token, -t Your Saliens game token.
--group, -g (Optional) The ID of a steam group you'd like to represent.
--name, -n (Optional) The name to display on this instance of the script.
--logRequests, -l (Optional) Set to true if you'd like to show Steam API requests in the logs.
const { SalienScript } = require('salien-script-js');
const config = {
token: '', // Your token from https://steamcommunity.com/saliengame/gettoken
clan: '', // (optional) Clan id from https://steamcommunity.com/groups/YOUR_GROUP_NAME_HERE/memberslistxml/?xml=1
name: '', // (optional) Name of this instance for logging
};
const salien = new SalienScript(config);
salien.init();
The provided Dockerfile allows you to build this repository as a Docker container. To do that, clone the following repo and run the following commands.
# builds an image of the repo
$ docker build -t salien-script-js .
# sets up a container based on said image in "detached" mode
$ docker run -d --name salien-script-js salien-script-js [options]
You can also set up continuous deployment through Docker Hub. Read the following comment for a guide.
To check if it works, visit logs at https://dashboard.heroku.com/apps/[YOUR_APP_NAME]/logs
If you see "Application Error" when going to the webpage of your app, it's okay - the script will still run anyway.
$ git clone https://github.com/South-Paw/salien-script-js -o upstream
$ cd salien-script-js
$ heroku create [APP_NAME]
$ heroku config:set "SALIEN_CONFIG_V2=[APP_CONFIG]"
$ git push heroku master
$ heroku ps:scale web=0 salien=1
And to check if it works:
$ heroku logs --tail
SALIEN_CONFIG_V2
is just an array of config that will be passed to SalienScript
constructor.
If you only have one account, then your config will look like this:
[
{
"token": "12345"
}
]
The only mandatory key for each account is token
and you can add extra keys to this config such as clan
, name
or selectedPlanetId
:
[
{
"token": "12345",
"clan": "67890",
"name": "first_acc",
"selectedPlanetId": "28"
}
]
If you had two accounts for example;
first_acc
with a token of 123
and a group of 98712
second_acc
with a token of 456
and a group of 67890
then you would make your config look like this:
[
{
"token": "123",
"clan": "98712",
"name": "first_acc"
},
{
"token": "456",
"clan": "67890",
"name": "second_acc"
}
]
The easiest way to update script on heroku is to just delete your old app and create new.
You can also link your Heroku app to your Dropbox account. To do that, download this repository as a zip archive, and unpack it to the folder created on your Dropbox.
For more info on this, visit: https://devcenter.heroku.com/articles/dropbox-sync
For more info on connecting github account, visit: https://devcenter.heroku.com/articles/github-integration
For more info on syncing fork using web interface, check this tutorial: https://www.sitepoint.com/quick-tip-sync-your-fork-with-the-original-without-the-cli/
If you created your app using web-console, you need to clone heroku repo first
$ git clone https://git.heroku.com/[APP_NAME].git -o heroku
$ cd [APP_NAME]
$ git remote add upstream https://github.com/South-Paw/salien-script-js.git
And then, fetch, merge and push
$ git fetch upstream
$ git merge remotes/upstream/master
$ git push heroku master
Want to help out? Awesome! 👍
Pull the repo and you can run the script with node cli.js -t TOKEN
.
PRs, suggestions, fixes and improvements all welcome.
This project is licensed under MIT
MIT License
Copyright (c) 2018 Alex Gabites
https://github.com/South-Paw/salien-script-js
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
FAQs
A easy to install, run and update Node.js script for the Steam salien mini-game.
We found that salien-script-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.