This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
import hmac | |
import hashlib | |
import time | |
import requests | |
import urllib | |
class D2CMsgSender: | |
API_VERSION = '2016-02-03' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"golang.org/x/sys/windows/registry" | |
) | |
// QueryRegistry to query the value by registry key, path and name | |
func QueryRegistry(key registry.Key, path, name string) (string, uint32, error) { |