Skip to content
James Eduard

[Dev[Sec} + Ops ]

  • Home
  • How To’s
  • Microsoft
    • Microsoft 365
    • Microsoft Defender
    • Microsoft Intune
    • Microsoft Entra
    • Microsoft Sentinel
    • Azure AD
  • Linux
    • CentOS
    • Debian
    • ElementaryOS
    • Fedora
    • Kali Linux
    • FreeBSD
    • Linuxmint
    • Redhat
    • RHEL
    • Open Suse
    • Ubuntu
  • MacOS
  • Cloud
    • VMWare
    • Azure
    • AWS
    • Cloudflare
    • DevOps
      • Dynatrace
      • Terraform
      • Docker
  • Security
    • Capture the Flag
      • HackTheBox
    • Hardware Hacking
    • Forensics Tools
    • Hacker Conference
    • InfoSec
    • Exploit
  • Home
  • How To’s
  • Microsoft
    • Microsoft 365
    • Microsoft Defender
    • Microsoft Intune
    • Microsoft Entra
    • Microsoft Sentinel
    • Azure AD
  • Linux
    • CentOS
    • Debian
    • ElementaryOS
    • Fedora
    • Kali Linux
    • FreeBSD
    • Linuxmint
    • Redhat
    • RHEL
    • Open Suse
    • Ubuntu
  • MacOS
  • Cloud
    • VMWare
    • Azure
    • AWS
    • Cloudflare
    • DevOps
      • Dynatrace
      • Terraform
      • Docker
  • Security
    • Capture the Flag
      • HackTheBox
    • Hardware Hacking
    • Forensics Tools
    • Hacker Conference
    • InfoSec
    • Exploit
Unix

Q-shell – Quick Shell for Unix Administrator

July 10, 2015 - By pir8g33k

Q-shell is quick shell for remote login into Unix system, it use blowfish crypt algorithm to protect transport data from client to server, you can get two program: ‘qsh’ for client, and ‘qshd’ for server, those program can rename by any name with you prefer.
To Compile Q-shell:
Just enter ‘make’ and it will automation to compile, but, you must input the server key.
Usage:
1. For Server, Just run qshd on server:

$ ./qshd

But, you would like to run after change it to other name, such as:

$ mv qshd smbd
$ export PATH=.:$PATH
$ smbd

2. For client, Set some environment variable, then run qsh:

$ export _IP=127.0.0.1
$ export _PORT=2800
$ unset _P
$ ./qsh shell

Now you already login into server $_IP .
More function:
q-shell include more function to manage system:
1. put/get files:

$ ./qsh get /path/to/server/file .
$ ./qsh put /path/to/local/file  /path/to/server/file

2. Run a command on server:

$ ./qsh exec 'ls -l /bin'

3. Update server program, This function will update remote qshd, and run again:

$ ./qsh update /path/to/local/qshd

4. Automation to run command on many server, Note: qsh use $_P to fetch server key, so you should erase all history data after to use $_P:

$ for i in {10..20} ; do \
      export _IP=192.168.0.$i
      export _PORT=2800
      export _P=key   # set key
      ./qsh exec 'ls -l /bin'
  done

5. Update password, start with version 3.2, you can update the password as below:

$ ./qsh passwd

6. Download q-shell at Github Repo: https://github.com/qianshanhai/q-shell

blowfishblowfish cryptEncryptionremote loginShell

Related Posts

Climber – Check UNIX/Linux Systems For Privilege Escalation

March 8, 2016

Mosca – Static analysis tool to find bugs like a grep unix command

January 17, 2016
https://affiliate.klook.com/redirect?aid=74408&aff_adid=1310193&k_site=httpswww.klook.comen-USactivity1659-taipei-101-taipei
Klook.com

Categories

Recent Posts

  • Protected: Automating Graph API Role Assignments for Logic App Managed Identity
  • AWS Summit Hong Kong 2026 – What to Expect and Why You Should Attend
  • VXCON 2025: Where Red Teamers, Reverse Engineers, and Car Hackers Meet in Hong Kong
  • How-To Guide: Secure DNS Setup for Windows, macOS, and Linux
  • Introducing Quick Machine Recovery: Microsoft’s Solution to Driver-Induced Blue Screens
Klook.com
© 2026 James Eduard. Open Source • Technology • Cybersecurity. All rights reserved.
Graceful Theme by Optima Themes