Skip to content

Instantly share code, notes, and snippets.

Avatar

Jorge Oliveira NewEraCracker

View GitHub Profile
@NewEraCracker
NewEraCracker / .gitattributes
Last active Jun 5, 2020
NFSMW_SwapSize_200MB.bat accesses the system registry and sets Need for Speed Most Wanted SwapSize to 200MB (Default is 70MB) + More
View .gitattributes
*.bat eol=crlf
View auto-bin2dat.bat
@REM For updates please check: https://github.com/NewEraCracker/bin2dat
@REM
@REM Creates the microcode.dat from an intel-ucode folder
@REM
@REM Date: Dec 25th 2018
@REM Author: Jorge Oliveira
@REM License: Public Domain
@REM
@REM No warranties or guarantees express or implied.
View antiNSA.bat
@REM
@REM Absolute Computrace/Lojack/BeeInject Disabler
@REM
@REM Works around the Ring -3 Bootkit part of
@REM NSA/TAO and CIA/IOC Framework
@REM
@REM This tool will backup original Computrace/Lojack files,
@REM disable the services and then add dummy read-only copies.
@REM
@REM Edited to strengthen protection against removal
View euro-serial-check.html
<!DOCTYPE HTML>
<html>
<head>
<script><!--
function checksum(str, eight = false)
{
regex = new RegExp('^([A-Z]{1})([A-F]{1})?([0-9]{9,10}[1-9])$');
matches = regex.exec(str);
if ( (typeof matches == undefined) || (!matches) ) {
View php5.4.x-ZEND_ASSERT.diff
--- php5.4/Zend/zend.h
+++ php5.4/Zend/zend.h
@@ -212,6 +212,7 @@
#define ZEND_FILE_LINE_EMPTY_CC , ZEND_FILE_LINE_EMPTY_C
#define ZEND_FILE_LINE_ORIG_RELAY_C __zend_orig_filename, __zend_orig_lineno
#define ZEND_FILE_LINE_ORIG_RELAY_CC , ZEND_FILE_LINE_ORIG_RELAY_C
+#define ZEND_ASSERT(c) assert(c)
#else
#define ZEND_FILE_LINE_D
#define ZEND_FILE_LINE_DC
View timezonedb-2016.6.php54.diff
--- timezonedb-2016.6/php_timezonedb.h
+++ timezonedb-2016.6.1/php_timezonedb.h
@@ -26,7 +26,7 @@
extern zend_module_entry timezonedb_module_entry;
#define phpext_timezonedb_ptr &timezonedb_module_entry
-#define PHP_TIMEZONEDB_VERSION "2016.6"
+#define PHP_TIMEZONEDB_VERSION "2016.6.1"
PHP_MINIT_FUNCTION(timezonedb);
View php_lint.sh
#!/bin/sh
#
# This is a little script that will use PHP's lint functionality to
# check if syntax of PHP files is correct, ensuring less likelihood
# of bad code making it's way into the project.
#
# For best results, execute this in an environment with PHP version
# matching the one being used on the pfSense branch to be checked.
#
View mod_antiloris.c
/*
mod_antiloris 0.6.0
Copyright (C) 2008 Monshouwer Internet Diensten
Author: Kees Monshouwer
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@NewEraCracker
NewEraCracker / vulcan-logic-disassembler-0.12.0-build-fix.diff
Last active Aug 29, 2015
vulcan-logic-disassembler-0.12.0-build-fix.diff
View vulcan-logic-disassembler-0.12.0-build-fix.diff
diff -uNra vld-0.12.0.old/vld.c vld-0.12.0.new/vld.c
--- vld-0.12.0.old/vld.c Sat Sep 21 23:35:49 2013
+++ vld-0.12.0.new/vld.c Sat May 24 17:02:45 2014
@@ -251,7 +251,7 @@
static int vld_dump_fe (zend_op_array *fe APPLY_TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key)
{
#if PHP_VERSION_ID < 50300
- TSRMLS_FETCH()
+ TSRMLS_FETCH();
#endif
You can’t perform that action at this time.