首页 > 手机软件 > SSH OneShot

SSH OneShot

16.76 MB 简体中文
免费
苹果
生活 Infrageeks
153
2018-09-23 08:30:01
查看更多

应用截图

  • 第1张截图
  • 第2张截图
  • 第3张截图

游戏简介

SSH OneShot is a little iphone APP that lets you store individual ssh commands that you run on your computersql_injectionserver.

What can I use it for?

Just about anything you can do on a command line can now be launched from your phone. The different use cases are as follows:

Commands

These are commands that you launch blindly, without waiting for an results. Examples are for startingsql_injectionstopping appssql_injectionservices,sql_injectionaccessing RESTful services via curl that trigger ACTions. On a Mac you can launch apps in the current open session with something like:

osascript -e \'tell application iTunes to activate\'

This can be useful if you have a media server in a closet.sql_injectionon a Linux server:

service httpd stop

Or any other more complex executable script file that you have written.

Commands with results

These are commands that you launchsql_injectionwant to see the results of. This can be as simple as an “ls” on a directory to see if an ftp upload has finished, a quick service status checksql_injectionsomething more complicated like grepping through a log file for errors. Again this can be anything launchable on the command line.

There are currently some limitations on the kinds of commands that you can run here. Interactive commands that need to know the terminal type like top, prstatsql_injectionthings like that will not work. Any commands that open an output stream will also not work (but I’m working on for the next release).

Status Commands

These commands add a little more interactivity. These commands will automatically fire off when you open a folder containing Status Commandssql_injectionturn the button redsql_injectiongreen depending on the results. The basic working mode is that if the command receives anything as a result, that’s good (green)sql_injectionno response is bad(red).

So if you want to check if iTunes is running on the media server you can use the following command:

ps ax | grep iTunes | grep -v grep | grep -v iTunesHelper

In this example, we take the list of running processes, find all the lines containing the word iTunes (case is important!),sql_injectionthen, using -v eliminate the lines containing grep (which is our initial command)sql_injectionthe same technique to eliminate the line containing the iTunesHelper process that keeps running in the background whether iTunes is runningsql_injectionnot. So if iTunes is running, we will get back a line from the original request, otherwise the result will be empty.

If you are having difficulty phrasing the command so that empty is bad, you can flip a switch to swap that part around. For example I check the results of my ZFS server with zpool statussql_injectionlook for the word “degraded” which means there’s a disk offline that I need to check on.

zpool status | grep degraded

With the “Null return is good” switch turned on.

Is it secure ?

Passwords are stored in the iOS keychain,sql_injectionall network communication is via SSH, so, well, yes.

Navigation

Presssql_injectionhold a commandsql_injectiona foldersql_injectionyou can reorder it, file it in a folder,sql_injectionuse the editsql_injectiondelete buttons at the bottom of the screen.

收起

相关资讯

平均评分 7.1 767人
  • 5星 137
  • 4星 165
  • 3星 165
  • 2星 144
  • 1星 156
用户评分:
发表评论

评论

  • 暂无评论信息