Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
catjsrunner
Advanced tools
CATJS runner is a command line tool that helps you run your web application on multiple devices including, Android, iOS, and PC browsers. This tool is very useful when combined with mobile web automation frameworks like [catjs](https://www.npmjs.org/pack
CATJS runner is a command line tool that helps you run your web application on multiple devices including, Android, iOS, and PC browsers. This tool is very useful when combined with mobile web automation frameworks like catjs.
##Installation
We recommend to install mobilerunner as a cli
npm install -g mobilerunner
Command line syntax:
mobilerunner <configfile>
If omitted the mobilerunner will search for a config file named TestRunConfig.json in the working directory.
browsers Currently supported browsers names for cross platform (Linux, Darwin and win32):
iPhone agent application will be supported later on
android agent application is supported and is part of the module installation
##Config file
The config file is a json file with the following properties:
devices An array that defines the devices
./lib/resources
server The server configuration that will be used for the base URL
{
"run": {
"devices": [
{
"disable": false,
"type": "androidBrowser",
"id": "all",
"runner": {
"name": "chrome",
"address": ""
}
}
]
}
"server": {
"host" : "www.google.com",
"port" : "80"
}
}
{
"run": {
"devices": [
{
"disable": false,
"type": "androidBrowser",
"id": "all",
"runner": {
"name": "chrome",
"address": "/index.html"
}
},
{
"disable": false,
"type": "localpc",
"runner": {
"name": "chrome",
"address": "/index.html",
"options": {"instances":1}
}
},
{
"disable": false,
"type": "localpc",
"runner": {
"name": "firefox",
"address": "/index.html",
"options": {"instances":1}
}
},
{
"disable": true,
"type": "android",
"id": "all",
"runner": {
"name": "apk",
"options": {"path" :"./lib/resources"}
}
},
{
"disable": true,
"type": "iphone",
"id": "all",
"runner": {
"name": "agent",
"options": {"ip": "192.168.1.107", "port": "54321", "path": "/cat", "timeout": 20000}
}
}
]
}
"server": {
"host" : "auto",
"port" : "8089"
}
}
FAQs
CATJS runner is a command line tool that helps you run your web application on multiple devices including, Android, iOS, and PC browsers. This tool is very useful when combined with mobile web automation frameworks like [catjs](https://www.npmjs.org/pack
The npm package catjsrunner receives a total of 4 weekly downloads. As such, catjsrunner popularity was classified as not popular.
We found that catjsrunner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.