LeakedIn Logo
Stories About Data Leaks and Related Stuff

Posts Tagged ‘Default Credentials’

Default Credentials

0 votedvote

Detected 1 occurrence(s) of ‘default\s*credentials’:

.database',
    'https://www.googleapis.com/auth/userinfo.email']


# Memoize the authorized http, to avoid fetching new access tokens
@lru_cache()
def _get_http():
    """Provides an authed http object."""
    http = httplib2.Http()
    # Use application default credentials to make the Firebase calls
    # https://firebase.google.com/docs/reference/rest/database/user-auth
    creds = GoogleCredentials.get_application_default().create_scoped(
        _FIREBASE_SCOPES)
    creds.authorize(http)
    return http


def firebase_p

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

Default Credentials

0 votedvote

Detected 1 occurrence(s) of ‘default\s*credentials’:

var webRequest = WebRequest.Create(uri);
    webRequest.Credentials = CredentialCache.DefaultCredentials;
    var webResponse = webRequest.GetResponse();

    var dataStream = webResponse.GetResponseStream();
    var reader = new StreamReader(dataStream);
    var responseFromServer = reader.ReadToEnd();
    reader.Close();
    webResponse.Close();

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

Default Credentials

0 votedvote

Detected 1 occurrence(s) of ‘default\s*credentials’:

<system.net>
    <defaultProxy enabled="false" useDefaultCredentials="false">
    </defaultProxy>
  </system.net>

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

Default Credentials

0 votedvote

Detected 1 occurrence(s) of ‘default\s*credentials’:

ter(Position=0, Mandatory=$true, ValueFromPipeline=$true)][ValidateNotNullOrEmpty()]
	        [String]$Identity
	)
	process {
        $ctx = New-Object Microsoft.SharePoint.Client.ClientContext($Identity)
		$ctx.Credentials = [System.Net.CredentialCache]::DefaultCredentials
		$web = $ctx.web
		$ctx.Load($web)
        $ctx.Load($web.lists)
        $ctx.Load($web.contenttypes)
        $ctx.Load($web.webs)
        $ctx.Load($web.folders)
		$ctx.ExecuteQuery()
		return $web
	}
}
function Get-SPList {
    param( 
		[Parameter(Pos

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

Default Credentials

0 votedvote

Detected 1 occurrence(s) of ‘default\s*credentials’:

.database',
    'https://www.googleapis.com/auth/userinfo.email']


# Memoize the authorized http, to avoid fetching new access tokens
@lru_cache()
def _get_http():
    """Provides an authed http object."""
    http = httplib2.Http()
    # Use application default credentials to make the Firebase calls
    # https://firebase.google.com/docs/reference/rest/database/user-auth
    creds = GoogleCredentials.get_application_default().create_scoped(
        _FIREBASE_SCOPES)
    creds.authorize(http)
    return http


def firebase_p

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