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
<!DOCTYPE html> | |
<html class="no-js"> | |
<head> | |
<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<title>ABC</title> | |
<meta name="description" content="" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<link rel="stylesheet" href="" /> |
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
//MoreDetailshttps://stackoverflow.com/questions/40070703/how-to-get-a-list-of-open-tabs-from-chrome-c-sharp | |
//UIAutomationClient.dll | |
//UIAutomationTypes.dll | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
using System.Text.RegularExpressions; |
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
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
using System.Drawing; | |
using System.Windows.Forms; | |
using System.Runtime.Remoting.Messaging; | |
using System.Runtime.InteropServices; | |
using static System.Net.Mime.MediaTypeNames; | |
using System.Drawing.Imaging; | |
using System.Net; |
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
1..2xx | % {"192.168.1.$($_):$(Test-Connection -count 1 -comp 192.168.1.$($_) -quiet)"} | Select-String -Pattern True |
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
@echo off | |
rem Current Mac Address | |
getmac /v | findstr /b Ethernet | |
rem Search Ethernet of Brand Network | |
reg query HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318} /s /f DriverDesc | |
rem Verify class | |
rem Down Interface after to change |
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
[Reflection.Assembly]::LoadWithPartialName("System.Drawing") | |
function screenshot([Drawing.Rectangle]$bounds, $path) { | |
$bmp = New-Object Drawing.Bitmap $bounds.width, $bounds.height | |
$graphics = [Drawing.Graphics]::FromImage($bmp) | |
$graphics.CopyFromScreen($bounds.Location, [Drawing.Point]::Empty, $bounds.size) | |
$bmp.Save($path) | |
$graphics.Dispose() | |
$bmp.Dispose() | |
} | |
$bounds = [Drawing.Rectangle]::FromLTRB(0, 0, 1000, 900) |
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
#More-Information With Powershell | |
#https://tech.mavericksevmont.com/blog/powershell-selenium-automate-web-browser-interactions-part-i/ | |
foreach($hosti in Get-Content "hosts.txt"){ | |
$YourURL = "https://www.$hosti" | |
$regxphoto = $hosti -replace "com$", "png" | |
$env:PATH += ";C:\path\chromedriver_win32\" | |
Add-Type -Path "C:\path\chromedriver_win32\WebDriver.dll" | |
$ChromeDriver = New-Object OpenQA.Selenium.Chrome.ChromeDriver | |
$ChromeDriver.Navigate().GoToURL($YourURL) | |
$ChromeDriver.GetScreenshot().SaveAsFile("$regxphoto") |
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
#Text to HEX | |
echo "BetilloPOC" | xxd -ps -c 200 | tr -d '\n' | |
#Hex to Text | |
echo '426574696c6c6f504f43' | xxd -ps -r |
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 | |
uname -a | |
echo $# | |
echo $1 | |
echo "Welcome to my new script:"{$1} | |
echo "Welcome to my new script:"$1 | |
echo "Welcome to my new script:$1" |
NewerOlder