This file contains hidden or 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
| #!/usr/bin/env bash | |
| # | |
| # For latest Android Nexus devices (N5x, N6p, N9, etc.), Google is no longer | |
| # providing vendor tar archives to included into AOSP build trees. Oficially | |
| # it is claimed that all vendor proprietary blobs have been moved to /vendor | |
| # partition. Unfortunately that is not true since a few vendor executables, DSOs | |
| # and APKs/JARs are present under /system although missing from AOSP public tree. | |
| # | |
| # As such custom AOSP builds require to first extract such blobs from /system of | |
| # factory images and manually include them in vendor directory of AOSP tree. |
This file contains hidden or 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
| #!/bin/bash | |
| #$1 numparts, #$2 url | |
| #Get length | |
| TL=$(curl -sI $2 | grep Content-Length | awk '{printf "%d", $2}') | |
| echo "$s is $TL Bytes Long” | |
| #GetChunks | |
| for i in `seq 0 $(( $1 - 1 ))`; | |
| do |
This file contains hidden or 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
| whoami & hostname & ipconfig /all & net user /domain 2>&1 & net group /domain 2>&1 & net group "domain admins" /domain 2>&1 & net group "Exchange Trusted Subsystem" /domain 2>&1 & net accounts /domain 2>&1 & net user 2>&1 & net localgroup administrators 2>&1 & netstat -an 2>&1 & tasklist 2>&1 & sc query 2>&1 & systeminfo 2>&1 & reg query "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" 2>&1 |
OlderNewer