Skip to content

Instantly share code, notes, and snippets.

View dorp007's full-sized avatar
:shipit:
Pizza is awesome!

jazzrab dorp007

:shipit:
Pizza is awesome!
View GitHub Profile
* g o a t s e x * g o a t s e x * g o a t s e x *
g g
o / \ \ / \ o
a| | \ | | a
t| `. | | : t
s` | | \| | s
e \ | / / \\\ --__ \\ : e
x \ \/ _--~~ ~--__| \ | x
* \ \_-~ ~-_\ | *
g \_ \ _.--------.______\| | g
<?php
$servername = "localhost";
$username = "yourusername";
$password = "yourpassword";
// Create connection
$conn = new mysqli($servername, $username, $password);
// Check connection
if ($conn->connect_error) {
@dorp007
dorp007 / GAUDC-Personal-Results.md
Created October 26, 2021 23:20 — forked from im-coder-lg/GAUDC-Personal-Results.md
Allows GAUDC permission to personal results if you do this.

Steps:

  1. Go to the Actions Console.
  2. Go to your GAUDC project
  3. Go to the Develop Section.
  4. Hit the hamburger button on the left side of the Develop screen and go to Account Linking.
  5. Now, enable Account linking by switching the toggle.
  6. Choose yes for Account Creation.
@dorp007
dorp007 / shodan-google-spreadsheet.js
Last active November 14, 2023 18:24 — forked from achillean/shodan-google-spreadsheet.js
## Shodan macros for Google Spreadsheets. To use this go to Tools -> Script Editor, then copy/ paste the code. In the spreadsheet you can then do:=SHODAN_COUNT("cisco-ios")=SHODAN_FACET_KEYS("cisco-ios", "org")=SHODAN_FACET_VALUES("cisco-ios", "org")
var API_KEY = 'YOUR API KEY';
/**
* Search the Shodan database using the given query. Returns the number of matches.
*/
function SHODAN_COUNT(query) {
var url = 'https://api.shodan.io/shodan/host/count?key=' + API_KEY + '&query=' + query;
var response = UrlFetchApp.fetch(url);
var data = Utilities.jsonParse(response.getContentText());