Skip to content

Instantly share code, notes, and snippets.

@hackermondev
hackermondev / zendesk.md
Last active November 15, 2024 17:02
1 bug, $50,000+ in bounties, how Zendesk intentionally left a backdoor in hundreds of Fortune 500 companies

hi, i'm daniel. i'm a 15-year-old with some programming experience and i do a little bug hunting in my free time. here's the insane story of how I found a single bug that affected over half of all Fortune 500 companies:

say hello to zendesk

If you've spent some time online, you’ve probably come across Zendesk.

Zendesk is a customer service tool used by some of the world’s top companies. It’s easy to set up: you link it to your company’s support email (like [email protected]), and Zendesk starts managing incoming emails and creating tickets. You can handle these tickets yourself or have a support team do it for you. Zendesk is a billion-dollar company, trusted by big names like Cloudflare.

Personally, I’ve always found it surprising that these massive companies, worth billions, rely on third-party tools like Zendesk instead of building their own in-house ticketing systems.

your weakest link

@sohilmemon
sohilmemon / ScreenRecorder
Last active December 19, 2019 04:14
Screen Recorder Using ReplayKit (Swift 4.0+) - Drag & Drop Helper
//
// ScreenRecorder.swift
// Sohil R. Memon
//
// Created by Sohil R. Memon
// Copyright © 2018 Sohil R. Memon. All rights reserved.
//
import Foundation
import ReplayKit
@fjcaetano
fjcaetano / DispatchQueue+DebounceThrottle.swift
Last active September 23, 2021 07:25
Debounce + Throttle
import Dispatch
private var throttleWorkItems = [AnyHashable: DispatchWorkItem]()
private var lastDebounceCallTimes = [AnyHashable: DispatchTime]()
private let nilContext: AnyHashable = arc4random()
public extension DispatchQueue {
/**
- parameters:
- deadline: The timespan to delay a closure execution
@0111b
0111b / UIView+awakeAfter.swift
Created December 4, 2017 04:18
UIView awake after
import UIKit
extension UIView {
open override func awakeAfter(using aDecoder: NSCoder) -> Any? {
let viewType = type(of: self)
let nibName = String(describing: Mirror(reflecting: self).subjectType)
let bundle = Bundle.main //Bundle(for: viewType)
//Prevents infinite loop from loadNibNamed internally-calling awakeAfterUsingCoder. Is false when called from storyboard, true when