[NetBehaviour] Helping the bankers

James Morris james at jwm-art.net
Mon Sep 7 12:04:26 CEST 2015


This is an updated version of a script to assist with entering (for 
example) the 4th, 7th, and 11th characters of your password.

Example usage:
./passchrs 4 7 11

The script will then prompt for your full password and display only the 
appropriate characters. This updated version does not show the password 
as it is typed.

Cheers.
-------------- next part --------------
#!/bin/bash

echo -n password:
read -s PW

for P in $@
do
    C=$((P-1))
    echo -n ${PW:C:1}
done

echo



More information about the NetBehaviour mailing list