Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Scripting network console sessions with a local API

A lot of network work still happens on a console: a USB-serial cable for the first SSH key, a Telnet jump on a lab switch, then a normal SSH session once the box is up. The painful part is not the protocols. It is repeating the same login, pager, and show command in a window you cannot script. This post is about driving those sessions from a command line and from a small local API, using…

Network engineers often rely on console sessions to manage network equipment. These sessions typically involve logging in through a USB-serial cable, using Telnet on a lab switch, and then establishing a normal SSH connection once the device is operational. The manual process of logging in, entering pager commands, and executing show commands can be tedious and difficult to automate.

JackedIN is a terminal that provides a solution for scripting network console sessions with a local API. The software includes built-in profiles for various network devices, such as Junos, Cisco IOS/NX-OS, Arista, Nokia, and MikroTik. It offers a 72-hour trial without requiring any registration or credit card information. JackedIN provides three ways to interact with network gear: a desktop window with tabs, saved sessions, serial, SSH, and Telnet; running the application in the terminal with specific commands; and connecting to devices using either SSH or Telnet protocols.

For Windows users, the serial port can be accessed through COM5. JackedIN can read the enable secret from an environment variable instead of being provided through command-line arguments. Additionally, the software can function as a local automation API, allowing scripts to open a session, send commands, wait for output, and close the session or perform tasks like pinging, tracing, and port scanning.

To test scripts without making any changes, users can utilize the dry-run feature, which simulates the execution without actually connecting to the device or sending any passwords. Python users can install the official JackedIN client and the optional Nornir plugin from PyPI. The client and plugin require a valid license or trial to function.

Once installed, users can dry-run commands to verify the output before executing them. The Python client and Nornir plugin offer flexibility for automating tasks, such as confirming version strings, extracting show commands, and ensuring the correct prompt is present. The software is compatible with various operating systems, including Windows 10/11, Debian/Ubuntu, and Raspberry Pi OS 64-bit.

However, there is no macOS version available at the moment. JackedIN also includes SFTP file transfer capabilities and can be integrated with existing network configurations, such as PuTTY, SecureCRT, MobaXterm, and SSH config files. The software runs only on the local machine, ensuring that no network services are exposed. The 1.2.1 version of JackedIN addresses issues related to password prompts on serial consoles and the enable prompt.

Users should be cautious when installing the Windows version, as the installer is not code-signed, and SmartScreen may trigger a warning. The portable zip file does not require administrative privileges to run. The trial, user guide, and the current 1.2.1 version can be downloaded from the official website. After the 72-hour trial period, the software is available for a one-time purchase of $19 (regularly priced at $29).

Additionally, there is a Lab Bundle that includes PathProbe Pro for $24.99. Students, teachers, and CTF teams can request a 40% discount by contacting service@getpathprobe.com. The author of this article is affiliated with the development of JackedIN and provides an overview of the current 1.2.1 version and the associated Python packages.

Rewritten by urgent.news; may contain errors — check the original.

Read the original at dev.to →

Report a problem with this story

More in Tech

Testing DHCP on tagged VLANs from a Raspberry Pi

A trunk port can look fine and still hand the wrong VLAN a DHCP lease. The usual check is to re-cable a laptop and add a temporary VLAN interface.

  • Raspberry Pi used as reliable DHCP test client
  • PathProbe tool checks untagged and tagged VLAN assignments
  • Failure in second test indicates port, trunk, or DHCP issue

GRH proof's geometry is `fun _ _ _ => True`, in 24 files

GRH proof's geometry is fun _ _ _ => True , in 24 files Yesterday the Lean and Mathlib communities certified Alpöge's 17.4-million-line GRH proof as correct.

  • Geometry predicate defined as fun = True in Alpöge's proof
  • Author found actual geometry predicate named geoOf in source code
  • anyGeometry used in 24 files, geoOf in 12 files

Ghostscript's font bug reached 10 apps through a `.png`

Ghostscript's font bug reached 10 apps through a .png A file named .png that contains PostScript can reach Ghostscript from ten different applications — and a use-after-free in Ghostscript's Type 1…

  • .png file with PostScript code exploited ten apps
  • CVE-2026-125396 vulnerability in Ghostscript's Type 1 font loader
  • RCE exploited via memory manipulation in various applications

More from Sunday 22 November →