This Gist includes all received Shaberi for 3770.2
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!--Please do not manually edit this file--> | |
<manifest> | |
<remote fetch="https://github.com/" name="github" /> | |
<project name="bauner/cm-android_device_samsung_n7000" path="device/samsung/n7000" remote="github" revision="lineage-15.1" /> | |
<project name="rINanDO/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="lineage-15.1" /> | |
<project name="bauner/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" revision="lineage-15.1" /> | |
<project name="bauner/cm-proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="lineage-15.1" /> | |
<project name="rINanDO/android_hardware_samsung" path="hardware/samsung" remote="github" revision="lineage-15.1" /> | |
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" revision="lineage-15.1" /> |
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 | |
$session = "sk2017"; | |
session_start($session); | |
include('../../../assets/config/connection.php'); | |
$classLst = array("1T1", "1T2", "1T3", "1T4", "1T5", "1T6", "1T7", "1T8", "1T9", "1T10", "1T11", "1T12", "1T13", "1T14"); | |
if(isset($_FILES['file'])&&$_FILES['file']['error']==0){ | |
$file = $_FILES['file']['tmp_name']; | |
$fileCheck = $_FILES['file']['name']; |
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
@echo off | |
:::::::::::::::::::::::::::: | |
set "params=Problem_with_elevating_UAC_for_Administrator_Privileges"&if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" | |
fsutil dirty query %systemdrive% >nul 2>&1 && goto :GotPrivileges | |
:: The following test is to avoid infinite looping if elevating UAC for Administrator Privileges failed | |
If "%1"=="%params%" (echo Elevating UAC for Administrator Privileges failed&echo Right click on the script and select 'Run as administrator'&echo Press any key to exit...&pause>nul 2>&1&exit) | |
cmd /u /c echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "%~0", "%params%", "", "runas", 1 > "%temp%\getadmin.vbs"&cscript //nologo "%temp%\getadmin.vbs"&exit | |
:GotPrivileges | |
:::::::::::::::::::::::::::: | |
color 1F |
use nginx to spoof update traffic, wan connection to pc. adapt install.sh use phone connect to gdock wifi and attempt update
update 20201220: this is how it works from firmware 2.0 stock
- attempt official system upgrade to 2.5. If not possible, use json spoof method (aka openwrt host method)
- for openwrt host method for system upgrade, use nginx+php. Probably apache2 could work too. Just remember to run the iptables hack inside install.sh to redirect all port 80 traffic to localhost. Then, run the update_time function (adapt from install.sh) to ensure the timestamp inside json is correct all the time, or else system upgrade won't work. Then use a phone to connect to router and perform the upgrade. No openwrt required, profit.
- Stock 2.5 allows unsigned flashing. After update to official openwrt (aka stock 2.5), flash the -unlock- version of openwrt inside webui. My guess is that this -unlock- version includes an unlocked bootloader. It is a nand-factory file so can't really inspect it.
- Next reboo
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
Just wanna share a little finding about this, since there's no mention of this on the internet. Hopefully this GitHub Gist is useful to some people. | |
So basically, if you're using Livewire and wire:click events lead to a session expired (error 419 with exception CSRF Token Mismatch), please double check your URL domain. | |
This has been repeatedly mentioned on various sites, including one of the user on Reddit. Therefore, I did this: | |
I'm accessing on 127.0.0.1:9090 - CSRF Token Mismatch. No matter httponly, session database/file/cookie, php artisan optimize, blablabla. Nothing works. | |
After 4 hours of non stop brain-torturing, I decided to access on localhost:9090 - BOOM! Working!!! | |
BOOMMMMMM!!!!!! | |
WTF. 我tmd,气死人啊喂!人家赶功课啊!! |
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 <stdio.h> | |
#include <string.h> | |
#include <stdbool.h> | |
#include <stdlib.h> | |
#define maxPortCount 65536 | |
struct portsStruct{ | |
// char port[6]; | |
int count; |
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
Windows 10 Version 1809 (17763.1) | |
https://cloud.mail.ru/public/LVAH/88v4HuQbH | |
Enterprise 2019 LTSC (17763.1 aka 1809) SVF/SFX | |
https://software-download.microsoft.com/download/pr/17763.1.180914-1434.rs5_release_CLIENT_LTSC_EVAL_x64FRE_en-us.iso | |
https://mega.nz/#F!rUkiGapC!HkzkUIEjkqmUkSyqVeFsbQ | |
https://mega.nz/#F!fVswVSrK!psfmF7QF2_o9WSmOcQ445Q | |
Windows 10 Version 1809 (17763.107) |