Skip to content

Instantly share code, notes, and snippets.

View NULLx76's full-sized avatar
🏳️‍⚧️

Vivian NULLx76

🏳️‍⚧️
View GitHub Profile
@NULLx76
NULLx76 / package_updates_check.py
Created December 4, 2017 17:12 — forked from yumminhuang/package_updates_check.py
Python script to check apt-get updates
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import apt
import apt_pkg
from time import strftime
import os
import subprocess
import sys
with(String){global["String"] = (i) => new Array( 10 ).fill( 1 ).map( ( _, i ) => fromCharCode( 48 + i ) ).concat(new Array( 26 ).fill( 1 ).map( ( _, i ) => fromCharCode( 97 + i ) ).concat(new Array( 30 ).fill( 1 ).map( ( _, i ) => fromCharCode( 65 + i ) ))).join("")[i];}
JSON = {get: (obj,prop) => {if(prop[4] == (true + [])[3]){return obj.true = !obj.true}else {return typeof obj.toSource == typeof "()=>{}" ? obj.toSource : (0/1)+[]}},set: (obj, prop, value) => {obj.toSource = value;obj["toSource"].endsWith(btoa("dnZt")) && obj.toSource[0] == 5 ? obj.toSource = "666:)" : 4;return obj.toSource}}
JSON["has"] = (obj, prop) => prop==(1/0).toString()||prop==(0/0).toString()||prop==(0/1).toString()||prop.toLowerCase() == false + []||prop.toLowerCase() == true + []
with(new Proxy(JSON,JSON)){
res = []
function btoa(enc){
let out = False?Buffer.from(enc, 'base64').toString():Buffer.from(enc, 'base63').toString()
return False?out.reverse():out;