APIx00E00 Posted April 29, 2014 Report Posted April 29, 2014 Este cineva dispus sa faca o mica modificare la acest script? Contra cost..Download generate.zip from Sendspace.com - send big files the easy wayAs vrea sa genereze ceva de genul:127.0.0.1:user Quote
Gushterul Posted April 29, 2014 Report Posted April 29, 2014 Linia $string= $ip . "@" . $user . ";" . $password ;in $string= $ip . ":" . $user; Quote
DeVelopeR Posted May 21, 2014 Report Posted May 21, 2014 off off Daca anulezi un camp anulez tot campul nu doar schimbi o linieUite aici<?php $ips = $_POST['ips']; $users = $_POST['users']; function rand_string( $length ) { $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; $size = strlen( $chars ); for( $i = 0; $i < $length; $i++ ) { $str .= $chars[ rand( 0, $size - 1 ) ]; } return $str;} $key = rand_string(8) . ".txt"; $fh = fopen($key, 'w') or die("can't open file"); $ips=explode("\n", $ips); $users=explode("\n", $users); foreach($ips as $ip){ foreach($users as $user){ $string= $ip.":".$user; $string = preg_replace('/\s+/', '', $string); fwrite($fh, $string); fwrite($fh, " \r\n"); }} $print = "Done! Poti sa descarci fisierul sursa si sa il adaugi in dubrute <a href=http://hiphopize.me" . $key . " >Click</a>"; echo $print;?>HTML<html><head><title>RDP_SRCBuilder</title></head><center><body><form method="POST" action=create.php>Ips:<textarea id="ips" name="ips" cols="40" rows="15"></textarea>Users:<textarea id="users" name="users" cols="40" rows="15"></textarea><br><input type="submit" value="Show them all!"></center><br></body></html> Quote
Haroon525 Posted June 4, 2014 Report Posted June 4, 2014 It is nice script and I have used it in the site. Quote