403Webshell
Server IP : 49.212.180.16  /  Your IP : 3.137.156.0
Web Server : Apache
System : FreeBSD www2606.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User : utannto ( 1076)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/rs/perl/5.8/bin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/rs/perl/5.8/bin/makerandom
#!/usr/local/perl/5.8/bin/perl -s
##
## makerandom - interface to crypt::random
##
## Copyright (c) 1998, Vipul Ved Prakash.  All rights reserved.
## This code is free software; you can redistribute it and/or modify
## it under the same terms as Perl itself.
##
## $Id: makerandom,v 1.1.1.1 2001/06/21 15:34:49 vipul Exp $

use Crypt::Random qw( makerandom makerandom_itv );

unless ( $size || $lower )  { 
    my $name = $0; 
    $name =~ s:.*/::;
    print "usage: $name [options] \
       -size=bitsize \
       -strength=[01] \
       -dev=device \ 
       -lower=lower_bound \
       -upper=upper_bound \
       -num=quantity\n\n";
    exit 0;
}


$strength = 0 unless $strength; 
my $i     = 1; 
   $num   = 1 unless $num; 

while ( $i++ <= $num ) { 

my $r; 

if ( $size ) { 
    $r = makerandom Size => $size, 
                    Strength => $strength,
                    Device => $dev; 
}

if ( $lower ) { 
    $r = makerandom_itv Lower => $lower, 
                        Upper => $upper, 
                        Strength => $strength, 
                        Device => $dev;
}

print "$r\n";

}

Youez - 2016 - github.com/yon3zu
LinuXploit