Search Results

Search: Posts Made By: Milon
3,749
Posted By Milon
I want the system to randomly pick a honeypot...
I want the system to randomly pick a honeypot sensor for a user to login.



ip=$1
localip=$2
port=$3
localport=$4
if [ "$#" -ne 4 ]; then
$username = $5
$password = $6
fi
...
3,749
Posted By Milon
The problem is I'm very new in bash script. ...
The problem is I'm very new in bash script.

Will the below script produce the below results?


#!/bin/bash
p=$1
localip=$2
port=$3
localport=$4

if [ "$#" -ne 4 ]; then
exit 1
fi
...
3,749
Posted By Milon
Script that will random choose an IP address
Hi,

I need to write a bash script that will random choose and login into these below ip addresses.
192.168.116.130
192.168.116.131
192.168.116.132
...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 10:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy