LeakedIn Logo
Stories About Data Leaks and Related Stuff

Posts Tagged ‘URL with Credentials’

Potential leak of data: URL with Credentials

0 votedvote

Detected 1 occurrence(s) of ‘[ht|f]tp[s]*:\/\/\w+\:.*\@\w*\.\w*’:

-----------------------------------------'
131025 02:56:41	BOT    	'Attempting to connect to database mysql://urt:******@localhost/b3-db...'
131025 02:56:41	BOT    	'Connected to database [1 times]'
131025 02:56:41	BOT    	'Working in Remote-Log-Mode : ftp://usr:secret@208.167.232.100/q3ut4/games.log'
131025 02:56:41	BOT    	'Starting bot reading file games_mp_208_167_232_100_27960.log'
131025 02:56:41	BOT    	'rcon status Cache Expire Time: [2 sec] Type: [memory]'
131025 02:56:41	VERBOSE	"RCON sending (208.167.232.100:27960

Source: http://pastebin.com/raw.php?i=PWqxBnRJ

If you find the content of this pastie suspicious or inappropriate, highlight the relevant piece of text and press Shift + E or click here to notify us.

Potential leak of data: URL with Credentials

0 votedvote

Detected 1 occurrence(s) of ‘[ht|f]tp[s]*:\/\/\w+\:.*\@\w*\.\w*’:

e proxies also require that you send it a username/password in order to let requests through. You should be able to add the required header, with something like this:

 use LWP::UserAgent;

 $ua = LWP::UserAgent->new;
 $ua->proxy(['http', 'ftp'] => 'http://username:password@proxy.myorg.com');

 $req = HTTP::Request->new('GET',"http://www.perl.com");

 $res = $ua->request($req);
 print $res->decoded_content if $res->is_success;
Replace proxy.myorg.com, username and password with something suitable for your site.

Source: http://pastebin.com/raw.php?i=mVMTzcJY

If you find the content of this pastie suspicious or inappropriate, highlight the relevant piece of text and press Shift + E or click here to notify us.

Potential leak of data: URL with Credentials

0 votedvote

Detected 1 occurrence(s) of ‘[ht|f]tp[s]*:\/\/\w+\:.*\@\w*\.\w*’:

e proxies also require that you send it a username/password in order to let requests through. You should be able to add the required header, with something like this:

 use LWP::UserAgent;

 $ua = LWP::UserAgent->new;
 $ua->proxy(['http', 'ftp'] => 'http://username:password@proxy.myorg.com');

 $req = HTTP::Request->new('GET',"http://www.perl.com");

 $res = $ua->request($req);
 print $res->decoded_content if $res->is_success;
Replace proxy.myorg.com, username and password with something suitable for your site.

Source: http://pastebin.com/raw.php?i=mVMTzcJY

If you find the content of this pastie suspicious or inappropriate, highlight the relevant piece of text and press Shift + E or click here to notify us.

Potential leak of data: URL with Credentials

0 votedvote

Detected 6 occurrence(s) of ‘[ht|f]tp[s]*:\/\/\w+\:.*\@\w*\.\w*’:

[^@]*@(.*)$~12~' <<< "$s"

http://example.com/gitproject.git

echo "${s/*@/http://}"

http://example.com/gitproject.git

$ sed "s#//.*@#//#g" <<< "http://user_name:user_password@example.com/gitproject.git"

http://example.com/gitproject.git

var='http://user_name:user_password@example.com/gitproject.git'
pat='(http://).*?@(.*)'
[[ $var =~ $pat ]]
echo "${BASH_REMATCH[1]}${BASH_REMATCH[2]}"
http://example.com/gitproject.git

Source: http://pastebin.com/raw.php?i=MdPCLKCp

If you find the content of this pastie suspicious or inappropriate, highlight the relevant piece of text and press Shift + E or click here to notify us.

Potential leak of data: URL with Credentials

0 votedvote

Detected 3 occurrence(s) of ‘[ht|f]tp[s]*:\/\/\w+\:.*\@\w*\.\w*’:

 "http://user_name:user_password@example.com/${str}.git"
echo "http://example.com/${str}.git"
	
echo "http://user_name:user_password@example.com/gitproject.git" |
    sed -e 's|//[^/]*/|//example.com/|'

http://example.com/gitproject.git

gitproject="http://user_name:user_password@example.com/gitproject.git"
proto=${gitproject%%//*}
path=${gitproject#${proto}//*/}
echo ${proto}//example.com/$path
http://example.com/gitproject.git

Source: http://pastebin.com/raw.php?i=caX8g1nm

If you find the content of this pastie suspicious or inappropriate, highlight the relevant piece of text and press Shift + E or click here to notify us.