Skip to content

Instantly share code, notes, and snippets.

View kr4uzi's full-sized avatar

Markus Kraus kr4uzi

  • Switzerland
View GitHub Profile
@kr4uzi
kr4uzi / HttpClient.py
Last active August 14, 2025 05:21 — forked from cetteup/HttpClient.py
BF2Hub stats Python ("decompiled" source code)
# uncompyle6 version 3.9.3.dev0
# Python bytecode version base 2.3 (62011)
# Decompiled from: Python 3.8.10 (default, Jul 29 2024, 17:02:10)
# [GCC 9.4.0]
# Embedded file name: /tmp/bf2c/bf2hub/HttpClient.py
# Compiled at: 2014-09-03 19:41:22
import socket, string
from urlparse import urlparse
class HttpClient:
@kr4uzi
kr4uzi / ServiceNow Java Classes & Methods
Created August 30, 2024 20:47 — forked from chaorace/ServiceNow Java Classes & Methods
ServiceNow Tokyo Whitelisted Packages
This is a list of all Java classes that are whitelisted for use in global ServiceNow background scripting as of the Tokyo release
Everything is derived from log output of GlideWhiteListManager.get().logMemberWhitelistEntries() and GlideWhiteListManager.get().logClassWhitelistEntries()
Many, but NOT ALL of these should be accessible via the global "Packages" object.
- e.g. The Java string class (java.lang.String) can be accessed as: Packages.java.lang.String
FYI: ServiceNow has deprecated directly accessing Java classes in this way and will REFUSE to support customer code that does this
NOTE: java.* classes will generally be aligned with JDK 7 and are fully documented in the public JavaDocs
- https://docs.oracle.com/javase/7/docs/