This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fafafdas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
typedef long long ll; | |
const int maxn = 1e2 + 14, lg = 15; | |
/* | |
###################################################################### | |
####################### THE BIG INT ########################## | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$redirect_url=$_GET['url']; | |
header('Location: '.$redirect_url); | |
die(); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- saved from url=(0035)http://192.168.43.81/uredirects.php --> | |
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>PENTESTER</title> | |
</head><body><h1>This is an example of unvalidated redirects</h1> | |
<p>please click <a href="/redirect.php?url=http://it4tsolutions.com/">it4tsolutions</a> to know more info</p> | |
</body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################################## | |
# realm=value generated by the server when identified by the client browser it displays # | |
# authentication for user # | |
# noncecount=count of the nonce generated by the client # | |
# clientnonce=nonce generated by the client # | |
# qop=denotes the option selected by the client out of list of qop options generated by the # | |
# server # | |
# nonce=random string generated by the server # | |
############################################################################################## | |
import hashlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################################## | |
# realm=value generated by the server when identified by the client browser it displays # | |
# authentication for user # | |
# noncecount=count of the nonce generated by the client # | |
# clientnonce=nonce generated by the client # | |
# qop=denotes the option selected by the client out of list of qop options generated by the # | |
# server # | |
# nonce=random string generated by the server # | |
############################################################################################## | |
import hashlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################## | |
# realm contains the value which indicates the browser to # | |
# display for authentication and nonce is the long random string # | |
# generated by the server # | |
################################################################## | |
import hashlib | |
hash1=hashlib.md5('username:realm:password').hexdigest() | |
hash2=hashlib.md5('method:URI').hexdigest() | |
response=hashlib.md5('hash1:nonce:hash2).hexdigest() | |
print(response) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** ClientHello, TLSv1.2 | |
RandomCookie: *** ClientHello, TLSv1.2 | |
RandomCookie: GMT: -1892413556 bytes = { GMT: -351008774 bytes = { 169, 131, 204, 213, 154, 96, 7, 136, 43, 142, 232, 138, 148, 171, 52, 226, 155, 202, 145, 57, 210, 132, 227, 182, 67, 222, 161, 28, 20 } | |
Session ID: 239, 10, 92, 143, 185, {} | |
93, Cipher Suites: [Unknown 0x8a:0x8a, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, Unknown 0xcc:0xa9, Unknown 0xcc:0xa8, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_GCM_SHA384, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
master_secret = PRF(pre_master_secret, "master secret", ClientHello.random + ServerHello.random) [0..47]; |
NewerOlder