Skip to content

Instantly share code, notes, and snippets.

@sedrubal
sedrubal / Thinkpad P70 prototype
Last active July 1, 2017 14:36
Validity90 prototype output
View Thinkpad P70 prototype
Prototype version 10b
Found device 138a:0090
Index 1, size 12
0000 65 38 38 35 38 34 35 33 35 34 36 35
usb write:
0000 01
usb read:
0000 00 00 f0 b0 5e 54 a4 00 00 00 06 07 01 30 00 01
0010 00 00 8e 58 48 35 45 56 00 23 00 00 00 00 01 00
@sedrubal
sedrubal / CVE-2017-6513.md
Last active April 19, 2017 06:37
WHMCS Reseller Module V2 for Softaculous Virtualizor Privilege Escalation
View CVE-2017-6513.md

Security Advisory for CVE-2017-6513

CVE ID: CVE-2017-6513: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-6513

Dates

  • 2017-03-06 01:00 CET: Sebastian discovered the vulnerability while using the software provided by IP Interactive UG. He tried to estimate the consequences of this issue.
  • 2017-03-06 02:00 CET: Sebastian contacted IP Interactive UG, because he thought it's an issue in their specific installation.
  • 2017-03-06 before 14:15 CET: IP Interactive UG contacted Softaculous and received a patch for this issue. He reported this to Sebastian and the issue could not be reproduced anymore.
  • 2017-03-06 14:20 CET: During a discussion with Julian we found out that this issue needs a CVE-ID and a public announcement. Sebastian tried to gather information. He asked IP Interactive UG and tried to install the software locally.
@sedrubal
sedrubal / wp_feed_import.py
Created February 10, 2017 20:32
Import posts from (Drupal) RSS feed to WordPress
View wp_feed_import.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Import posts from RSS feed and bring it to WordPress export format.
This works for our Drupal 6.
It prints the content of the WordPress export xml (wpx) to stdout and
all images that have to be imported manually to stderr.
@sedrubal
sedrubal / opacapp1.svg
Created September 17, 2016 13:35
opacapp logo drafts
View opacapp1.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sedrubal
sedrubal / debug.vcard
Created March 30, 2016 13:49
A broken contact image in vcard
View debug.vcard
BEGIN:VCARD
VERSION:3.0
UID:20140129T234653.1006b69f26@192.168.0.101
PRODID:+//IDN bitfire.at//DAVdroid/0.9.1.2 vcard4android ez-vcard/0.9.8
FN:Foo Bar
N:Foo;Bar;;;
TEL;TYPE=cell;PREF=1:1234
TEL:1234
TEL:1234
TEL;TYPE=cell:1234
@sedrubal
sedrubal / k9-log.txt
Created February 23, 2016 22:22
k9 Mail LogCat for "Empty Trash"
View k9-log.txt
--------- beginning of system
--------- beginning of main
02-23 23:13:59.819 V/k9 (13449): Stored uid '7713' for msgSeq 5331 into map
02-23 23:13:59.819 V/k9 (13449): conn256987670<<<#null# [5332, FETCH, [UID, 7714, FLAGS, [\Seen, <Folder>]]]
02-23 23:13:59.819 V/k9 (13449): Stored uid '7714' for msgSeq 5332 into map
02-23 23:13:59.820 V/k9 (13449): conn256987670<<<#null# [5333, FETCH, [UID, 7715, FLAGS, [\Seen, <Folder>]]]
02-23 23:13:59.820 V/k9 (13449): Stored uid '7715' for msgSeq 5333 into map
02-23 23:13:59.820 V/k9 (13449): conn256987670<<<#null# [5334, FETCH, [UID, 7716, FLAGS, [\Seen, <Folder>]]]
02-23 23:13:59.820 V/k9 (13449): Stored uid '7716' for msgSeq 5334 into map
02-23 23:13:59.820 V/k9 (13449): conn256987670<<<#null# [5335, FETCH, [UID, 7717, FLAGS, [\Seen, <Folder>]]]
@sedrubal
sedrubal / cava.spec
Created October 27, 2015 21:52
cava - RPM SPEC
View cava.spec
Name: cava
Version: 0.3.5
Release: 1%{?dist}
Summary: Console-based Audio Visualizer for Alsa
Group: Applications/Multimedia
License: MIT
URL: https://karlstav.github.io/%{name}/
Source0: https://github.com/karlstav/%{name}/archive/%{version}.tar.gz
View arc-theme.spec
Name: arc-theme
Version: 20151214
Release: 1%{?dist}
Summary: a theme for GTK 3, GTK 2 and Gnome-Shell
BuildArch: noarch
Group: Applications/Multimedia
License: GPLv3
URL: https://github.com/horst3180/%{name}
Source0: https://github.com/horst3180/%{name}/archive/%{version}.tar.gz
@sedrubal
sedrubal / mumble.spec
Created October 6, 2015 00:51
mumble - RPM SPEC
View mumble.spec
# Because of a bug you have to run:
#sudo ln -s /usr/include/speech-dispatcher/libspeechd.h /usr/include/libspeechd.h
#sudo ln -s /usr/include/speech-dispatcher/libspeechd_version.h /usr/include/libspeechd_version.h
# And you should verify the download by using the signature:
#https://github.com/mumble-voip/mumble/releases/download/1.2.10/mumble-1.2.10.tar.gz.sig
Name: mumble
Version: 1.2.10
Release: 1%{?dist}
Summary: Mumble VoIP Client/Server
@sedrubal
sedrubal / cmus.spec
Last active October 9, 2015 23:13
cmus - RPM SPEC
View cmus.spec
Name: cmus
Version: 2.7.1
Release: 3%{?dist}
Summary: Ncurses-Based Music Player
Group: Applications/Multimedia
License: GPLv2+
URL: https://cmus.github.io/
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz