Skip to content

Instantly share code, notes, and snippets.

/*
write_eeprom.c
----------------
Copyright (C) 2020 wutno (https://github.com/GXTX)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@GXTX
GXTX / backup.c
Last active June 22, 2020 20:01
/*
backup.c
An application which will backup the manufacturing config sectors &
eeprom while optionally clearing the config sector.
----------------
Copyright (C) 2020 wutno (https://github.com/GXTX)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
package main
import (
"bytes"
"encoding/binary"
"fmt"
"os"
"strings"
"time"
"unsafe"
/* You are required to have killed xbdm.dll "somehow". */
void main(void)
{
HANDLE ret;
IO_STATUS_BLOCK ioStatusBlock;
OBJECT_ATTRIBUTES ObjectAttributes;
FILE_BASIC_INFORMATION fileBasicInfo;
FILE_NETWORK_OPEN_INFORMATION fileQueryInfo;
ANSI_STRING fileName;
NTSTATUS status;
package main
import (
"bytes"
"encoding/binary"
"fmt"
"io/ioutil"
"os"
"time"
)
<?php
print "What is your private key?: ";
$input = fopen ("php://stdin","r");
$key = trim(fgets($input));
print "What part are we doing? (1 or 2): ";
$input = fopen ("php://stdin","r");
$part = trim(fgets($input));
$i = 1;
while(true){
$hash = md5($key.$i);
<?php
/* PHP System Status
* ------------------------------------------
* Authors: wutno (#/g/tv - Rizon), ed (https://github.com/9001)
* Last update: 5/20/2014 12:04AM -5GMT (add core temperature support, requires lm_sensors, and had to remove 1 output otherwise 1080 will have scroll bar.)
*
*
* GNU License Agreement
* ---------------------
* This program is free software; you can redistribute it and/or modify
<?php
print "Please enter a number: ";
$stdin = fopen ("php://stdin","r");
$input = trim(fgets($stdin));
if(is_numeric($input)){
$output = "*";
for($i = 0; $i < $input; $i++){
print $output."\n";
$output .= "*";
}