Skip to content

Instantly share code, notes, and snippets.

@topahl
topahl / IPS_PROXY
Created November 29, 2021 12:43
This file can be used to create the destination required to connect SAP IAG to SAP IPS
Description=IPS Destination
Type=HTTP
Accept=application/scim+json
Authentication=BasicAuthentication
Name=IPS_PROXY
serviceURL=/ipsproxy/api/v1/scim/
ProxyType=Internet
URL=https\://ipsproxy<<id>>-<<subaccount>>.hana.ondemand.com/
#User=<< Existing user removed on export >>
#Password=<< Existing password/certificate removed on export >>
@topahl
topahl / orgs.sh
Created August 31, 2020 13:16
This scipt lists all cf org id's with the corresponding org names.
#!/bin/bash
# list all org guids
# list of all Org names we need to iterate through
orgs=$(cf orgs | tail -n +4)
function get_guid() {
org=$1
echo "$org:"
# get org GUID
@topahl
topahl / README.md
Last active May 2, 2020 11:04
Docker Letsencrypt Cloudflare DNS

Keybase proof

I hereby claim:

  • I am topahl on github.
  • I am pahlings (https://keybase.io/pahlings) on keybase.
  • I have a public key whose fingerprint is 8092 EE2F 992C CCDB EA9A 19EC 79C1 0C1D 58B6 54BF

To claim this, I am signing this object:

@topahl
topahl / CVSSv2.bas
Last active January 30, 2022 11:13
Excel CVSS Score calculation function
Attribute VB_Name = "CVSSv2"
Function CVSSv2(AV As String, AC As String, AU As String, C As String, I As String, A As String)
Attribute CVSSv3.VB_Description = "This function calculates the CVSSv3 Score from the coresponding vector"
Attribute CVSSv3.VB_ProcData.VB_Invoke_Func = " \n9"
Dim intAV, intAC, intAU, intC, intI, intA As Double
Dim ImpactScore, ISCbase, Exploitability As Double
Select Case AV
Case "Network", "N"
intAV = 1
@topahl
topahl / RFC_PING.abap
Last active May 11, 2016 08:21
RFC callback exploit
FUNCTION RFC_PING.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"----------------------------------------------------------------------
* RFC - P I N G
*
* Funktion dient als Verbindungstest.
*"----------------------------------------------------------------------
DATA lv_username TYPE BAPIBNAME-BAPIBNAME.