Jump to content
ionut.exotic

comanda scanner rdp linux

Recommended Posts

Am dat si apare asa .

# mullti-threaded rdp scanner

# original ideea from inode.

In fisierul de start este codul asta .

#!/bin/sh

if [ $# != "3" ]; then

echo "use: $0 <class> <from> <to>"

exit 0

fi

echo

a=$1

b=$2

c=$3

let c=c+1

while [ $b -lt $c ]; do

./rdp -h $a.$b.0.0/16 -t 25 -d >/dev/null&

let b=b+1

done

Si intr-un fisier x contine asta .

#!/bin/sh

if [ $# != "1" ]; then

echo "use: $0 <fisier_cu_ip-uri>"

exit 0

fi

echo

a=$1

for i in `cat $a`; do ./rdp -h $i/32 -t 100 -d >/dev/null 2>&1 &done

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...