Versions in this module Expand all Collapse all v0 v0.1.0 Sep 7, 2023 Changes in this version + const ApiContentsURL + const AppName + const AppStoreSearchLimit + const AppleDBGitURL + const AppleDBRepoURL + const ERROR_CODE_BAD_CREDS + const ERROR_CODE_BAD_VERIFICATION + const ERROR_CODE_FAILED_TO_UPDATE_SESSION + const ERROR_CODE_TOO_MANY_CODES_SENT + const ErrLoginRequires2fa + const FailureTypeInvalidCredentials + const FailureTypeLicenseNotFound + const FailureTypePasswordTokenExpired + const FailureTypeUnknownError + const KeychainServiceName + const VaultName + const XcodeDlURL + func AppleOssGraphQLTags(proxy string, insecure bool, apikey string) (map[string]GithubTag, error) + func CreateWikiFilter(cfg *WikiConfig) string + func FilterIpswURLs(urls []string, device, version, build string) []string + func GenerateDeviceMap(urls []string) + func GetBuildID(version, identifier string) (string, error) + func GetIpswDB(proxy string, insecure bool) (*info.Devices, error) + func GetLatestTag(prod, proxy string, insecure bool, api string) (string, error) + func GetPreprocessedAppleOssTags(proxy string, insecure bool) (map[string]GithubTag, error) + func GetProxy(proxy string) func(*http.Request) (*url.URL, error) + func GetRandomResearcher() string + func GetVersion(buildID string) (string, error) + func NewRemoteZipReader(zipURL string, config *RemoteConfig) (*zip.Reader, error) + func ParseIpswURLString(url string) (string, string, string) + func QueryXcodeReleasesAPI(name string) (string, error) + func ScrapeIPSWs(beta bool) ([]string, error) + func ScrapeKeys(version string) (map[string]map[string]map[string]string, error) + func ScrapeOTAs(beta bool) ([]string, error) + func ScrapeURLs(build string) (map[string]BetaIPSW, error) + type ADBQuery struct + APIToken string + Build string + ConfigDir string + Device string + Insecure bool + IsBeta bool + Latest bool + OSes []string + Proxy string + Version string + type App struct + ArtworkUrl string + BundleID string + FormattedPrice string + ID int + Name string + Price float64 + Rating float64 + RatingCount int + ReleaseDate string + SellerName string + SellerURL string + Size string + Version string + type AppStore struct + Client *http.Client + Vault keyring.Keyring + func NewAppStore(config *AppStoreConfig) *AppStore + func (as *AppStore) Download(bundleID, output string) error + func (as *AppStore) Init() (err error) + func (as *AppStore) Login(username, password string) error + func (as *AppStore) Lookup(bundleID string) (*App, error) + func (as *AppStore) Purchase(bundleID string) error + func (as *AppStore) Search(searchTerm string, limit int) (Apps, error) + type AppStoreConfig struct + ConfigDir string + Insecure bool + PageSize int + PreferSMS bool + Proxy string + RemoveCommas bool + RestartAll bool + ResumeAll bool + SkipAll bool + StoreFront string + VaultPassword string + Verbose bool + type AppleAccountAuth struct + AppStoreSession session + Credentials credentials + DevPortalSession session + type AppleDbOsFile struct + Beta bool + Build string + DeviceMap []string + OS string + Released ReleasedDate + Sources []OsFileSource + Version string + type Apps []App + type AssetAudienceID struct + Generic string + Release string + Versions map[string]struct{ ... } + type AssetAudienceIDs map[string]AssetAudienceID + func GetAssetAudienceIDs() (AssetAudienceIDs, error) + func (a AssetAudienceIDs) GetVersions(platform string) []string + func (a AssetAudienceIDs) LatestVersion(platform string) string + type AssetSet struct + ExpirationDate string + PostingDate string + ProductVersion string + SupportedDevices []string + type AssetSets struct + AssetSets map[string][]AssetSet + PublicAssetSets map[string][]AssetSet + func GetAssetSets(proxy string, insecure bool) (*AssetSets, error) + func (a *AssetSets) ForDevice(device string) []AssetSet + func (a *AssetSets) GetDevicesForVersion(version string, typ string) []string + func (a *AssetSets) LatestVersion(typ, platform string) string + type BetaIPSW struct + BuildID string + Devices []string + Version string + type Build struct + BuildID string + FirmwareSHA1 string + Identifier string + URL string + Version string + func UniqueBuilds(b []Build) []Build + type BuildInformation struct + OfferRestoreAsUpdate bool + Restore *IndividualBuild + SameAs string + Update *IndividualBuild + type BuildKeys map[string]Keys + type BuildNumber string + type Catalog struct + ApplePostURL string + CatalogVersion int + IndexDate time.Time + Products map[string]Product + type Commit struct + Additions githubv4.Int + Author struct{ ... } + ChangedFiles githubv4.Int + Deletions githubv4.Int + Message githubv4.String + MsgBody githubv4.String + MsgHeadline githubv4.String + OID githubv4.GitObjectID + TarballURL string + URL githubv4.URI + ZipballURL string + func GetGithubCommits(org, repo, branch, file, pattern string, days int, proxy string, insecure bool, ...) ([]Commit, error) + type Contents struct + ETag string + Generation int64 + Key string + LastModified time.Time + MetaGeneration int + Size int64 + type DVTDownloadable struct + Downloadables []Downloadable + RefreshInterval int + SdkToSeedMappings []struct{ ... } + SdkToSimulatorMappings []struct{ ... } + Version string + func GetDVTDownloadableIndex() (*DVTDownloadable, error) + type DevConfig struct + ConfigDir string + HashCash string + HashCashBits string + HashCashChallenge string + Insecure bool + PageSize int + PreferSMS bool + Proxy string + RemoveCommas bool + RestartAll bool + ResumeAll bool + SCNT string + SessionID string + SkipAll bool + VaultPassword string + Verbose bool + WatchList []string + WidgetKey string + type DevDownload struct + Build string + Title string + Type string + URL string + type DevPortal struct + Client *http.Client + Vault keyring.Keyring + func NewDevPortal(config *DevConfig) *DevPortal + func (dp *DevPortal) Download(url, folder string) error + func (dp *DevPortal) DownloadADC(adcURL string) error + func (dp *DevPortal) DownloadKDK(version, build, folder string) error + func (dp *DevPortal) DownloadPrompt(downloadType, folder string) error + func (dp *DevPortal) GetDownloadsAsJSON(downloadType string, pretty bool) ([]byte, error) + func (dp *DevPortal) GetHashcash() string + func (dp *DevPortal) GetSCNT() string + func (dp *DevPortal) GetSessionID() string + func (dp *DevPortal) GetWidgetKey() string + func (dp *DevPortal) Init() (err error) + func (dp *DevPortal) Login(username, password string) error + func (dp *DevPortal) Watch(ctx context.Context, downloadType, folder string, duration time.Duration) error + type Device struct + BdID int + BoardConfig string + CpID int + Firmwares []IPSW + Identifier string + Name string + Platform string + func GetAllDevices() ([]Device, error) + func GetDevice(identifier string) (Device, error) + type DeviceKeys map[string]BuildKeys + type Download struct + DestName string + Headers map[string]string + Sha1 string + URL string + func NewDownload(proxy string, ...) *Download + func (d *Download) Do() error + type Downloadable struct + Authentication string + Category string + ContentType string + DictionaryVersion int + FileSize int64 + HostRequirements struct{ ... } + Identifier string + Name string + Platform string + SimulatorVersion struct{ ... } + Source string + Version string + type Downloads struct + CreationTimestamp time.Time + Downloads []MoreDownload + HTTPResponseHeaders struct{ ... } + ProtocolVersion string + RequestURL string + ResponseID string + ResultCode int + UserLocale string + type ExtendedMetaInfo struct + InstallAssistantPackageIdentifiers map[string]string + type GithubCommit struct + Date time.Time + SHA string + URL string + type GithubContentsResponse struct + Content string + DownloadURL string + Encoding string + GitURL string + HTMLURL string + Links struct{ ... } + Name string + Path string + Sha string + Size int + Type string + URL string + type GithubReleaseAsset struct + CreatedAt time.Time + DownloadCount int + DownloadURL string + ID int + Name string + Size int + URL string + UpdatedAt time.Time + func (a GithubReleaseAsset) String() string + type GithubReleases []githubRelease + func GetGithubIPSWReleases(proxy string, insecure bool, api string) (GithubReleases, error) + type GithubRepos []githubRepo + type GithubTag struct + Commit GithubCommit + Name string + TarURL string + ZipURL string + func GetPreprocessedWebKitTags(proxy string, insecure bool) ([]GithubTag, error) + func WebKitGraphQLTags(proxy string, insecure bool, apikey string) ([]GithubTag, error) + type GithubTags []GithubTag + type IPSW struct + BuildID string + FileSize int + Identifier string + MD5 string + ReleaseDate time.Time + SHA1 string + Signed bool + URL string + UploadDate time.Time + Version string + func GetAllIPSW(version string) ([]IPSW, error) + func GetDeviceIPSWs(identifier string) ([]IPSW, error) + func GetIPSW(identifier, buildID string) (IPSW, error) + type ITunesVersionMaster struct + MobileDeviceSoftwareVersionsByVersion map[string]*VersionWrapper + func NewIBridgeXML() (*ITunesVersionMaster, error) + func NewMacOsXML() (*ITunesVersionMaster, error) + func NewiTunesVersionMaster() (*ITunesVersionMaster, error) + func (vm *ITunesVersionMaster) GetBuilds() []Build + func (vm *ITunesVersionMaster) GetBuildsForBuildID(buildID string) []Build + func (vm *ITunesVersionMaster) GetBuildsForVersion(version string) []Build + func (vm *ITunesVersionMaster) GetLatestBuild() (string, error) + func (vm *ITunesVersionMaster) GetLatestBuilds(device string) ([]Build, error) + func (vm *ITunesVersionMaster) GetLatestSoftwareURLs() ([]string, error) + func (vm *ITunesVersionMaster) GetLatestVersion() (string, error) + func (vm *ITunesVersionMaster) GetSoftwareURLFor(device string) (string, error) + func (vm *ITunesVersionMaster) GetSoftwareURLs() ([]string, error) + func (vm *ITunesVersionMaster) GetSoftwareURLsForBuildID(buildID string) ([]string, error) + func (vm *ITunesVersionMaster) GetSoftwareURLsForVersion(version string) ([]string, error) + type Identifier string + type IndividualBuild struct + BuildVersion BuildNumber + DocumentationURL string + FirmwareSHA1 string + FirmwareURL string + ProductVersion string + type Jailbreak struct + Caveats string + Firmwares struct{ ... } + Jailbroken bool + Name string + Platforms []string + URL string + type Jailbreaks struct + Jailbreaks []*Jailbreak + func GetJailbreaks() (Jailbreaks, error) + func (j *Jailbreaks) CanIBreak(iOSVersion string) (bool, int, error) + type KDK struct + Build string + Date KDKDate + FileSize int + Md5Sum string + Name string + Sha256Sum string + URL string + Version string + type KDKDate time.Time + func (r *KDKDate) UnmarshalJSON(b []byte) error + func (r KDKDate) Format(s string) string + func (r KDKDate) MarshalJSON() ([]byte, error) + type KDKs []KDK + func ListKDKs() (KDKs, error) + func (ks KDKs) Len() int + func (ks KDKs) Less(i, j int) bool + func (ks KDKs) Swap(i, j int) + type Keys map[string]string + type ListBucketResult struct + CommonPrefixes []string + Contents contents + IsTruncated bool + Marker string + MaxKeys string + Name string + NextMarker string + Prefix string + func ListXCodes() (*ListBucketResult, error) + type MoreDownload struct + Categories []category + DateCreated string + DateModified string + DatePublished string + Description string + Files []dfile + IsReleased int + Name string + type OsFileSource struct + DeviceMap []string + Hashes struct{ ... } + Links []struct{ ... } + Size int64 + Type string + func AppleDBQuery(q *ADBQuery) ([]OsFileSource, error) + func LocalAppleDBQuery(q *ADBQuery) ([]OsFileSource, error) + type OsFiles []AppleDbOsFile + func (fs OsFiles) Len() int + func (fs OsFiles) Less(i, j int) bool + func (fs OsFiles) Query(query *ADBQuery) []OsFileSource + func (fs OsFiles) Swap(i, j int) + type Oss struct + Build string + Inherits string + Projects map[string]project + func NewOSS(macOSVersion, proxy string, insecure bool) (*Oss, error) + type Ota struct + Config OtaConf + func NewOTA(as *AssetSets, conf OtaConf) (*Ota, error) + func (o *Ota) GetPallasOTAs() ([]types.Asset, error) + type OtaConf struct + Beta bool + Build string + Device string + DeviceBlackList []string + DeviceWhiteList []string + Insecure bool + Model string + Platform string + Proxy string + RSR bool + Timeout time.Duration + Version *version.Version + type Package struct + Digest string + IntegrityDataSize int + IntegrityDataURL string + MetadataURL string + Size int + URL string + type Product struct + Distributions map[string]string + ExtendedMetaInfo ExtendedMetaInfo + Packages []Package + PostDate time.Time + ServerMetadataURL string + type ProductInfo struct + Build string + PostDate time.Time + Product Product + ProductID string + Title string + Version string + func (i *ProductInfo) DownloadInstaller(workDir, proxy string, ...) error + func (i ProductInfo) String() string + type ProductInfos []ProductInfo + func GetProductInfo() (ProductInfos, error) + func (infos ProductInfos) FilterByBuild(build string) ProductInfos + func (infos ProductInfos) FilterByVersion(version string) ProductInfos + func (infos ProductInfos) GetLatest() ProductInfos + func (infos ProductInfos) String() string + type QueryResults struct + ResultCount int + Results Apps + type Queue struct + func NewQueue(len int) *Queue + func (q *Queue) IsEmpty() bool + func (q *Queue) Len() int + func (q *Queue) Peek() string + func (q *Queue) Pop() string + func (q *Queue) Push(item string) + type ReleasedDate time.Time + func (r *ReleasedDate) UnmarshalJSON(b []byte) error + func (r ReleasedDate) Format(s string) string + func (r ReleasedDate) MarshalJSON() ([]byte, error) + type RemoteConfig struct + Insecure bool + Proxy string + type Repo struct + Name string + Ref struct{ ... } + type Rss struct + Channel RssChannel + func GetRSS() (*Rss, error) + type RssChannel struct + Desc string + Items []RssItem + Link string + Title string + type RssContent struct + Data string + type RssItem struct + Content RssContent + Desc string + GUID string + Link string + PubDate pubDate + Title string + type ServerMetadata struct + CFBundleShortVersionString string + Localization map[string]localization + Platforms map[string][]string + type VersionWrapper struct + MobileDeviceSoftwareVersions map[Identifier]map[BuildNumber]*BuildInformation + type WikiConfig struct + Beta bool + Build string + Device string + IPSW bool + OTA bool + Version string + type WikiFirmware struct + Baseband string + BoardID string + Build string + Devices []string + Documentation []string + FileSize int + PrerequisiteBuild string + PrerequisiteVersion string + Product string + ReleaseDate time.Time + Sha1Hash string + URL string + Version string + VersionExtra string + func GetWikiFirmwareKeys(proxy string, insecure bool) ([]WikiFirmware, error) + func GetWikiIPSWs(cfg *WikiConfig, proxy string, insecure bool) ([]WikiFirmware, error) + func GetWikiOTAs(cfg *WikiConfig, proxy string, insecure bool) ([]WikiFirmware, error) + type XCodeRelease struct + Checksums struct{ ... } + Compilers struct{ ... } + Date struct{ ... } + Links struct{ ... } + Name string + Requires string + Sdks struct{ ... } + Version struct{ ... }