Skip to content
KitploitKITPLOIT
StrumentiBlog
Invia
StrumentiBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
Strumenti/GitHubGitHub/poshbotio/poshbot
Utilità GenericheScripting e AutomazioneDevSecOps
GitHubposhbotio/poshbot

PoshBot

Framework per bot basato su Powershell

Vedi Repository
5461074 anni faRevisionato da Kitploit

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi

PoshBot

Azure PipelinesGitHub ActionsDocumentationPS GalleryLicense
Azure Pipelines Build StatusGitHub Actions StatusDocumentation StatusPowerShell GalleryLicense

Supporto a PoshBot

PoshBot è un progetto open source con licenza MIT. Lo sviluppo continuo è reso possibile grazie al supporto degli sponsor. Se desideri diventare uno sponsor, puoi farlo tramite GitHub Sponsors o Patreon.

Sponsor Argento


Vuoi delle guide approfondite? Dai un'occhiata a ChatOps the Easy Way su Leanpub!

ChatOps the Easy Way

Introduzione

PoshBot è un chatbot scritto in PowerShell. Fa ampio uso delle classi introdotte in PowerShell 5.0. I moduli PowerShell vengono caricati in PoshBot e diventano immediatamente disponibili come comandi del bot. PoshBot attualmente supporta la connessione a Slack per offrirti fantastiche funzionalità ChatOps.

Cosa può fare PoshBot?

Praticamente qualsiasi cosa tu voglia :) No, sul serio. PoshBot esegue funzioni o cmdlet da moduli PowerShell. Usa PoshBot per connetterti ai server e segnalare lo stato, distribuire codice, eseguire runbook, interrogare API, ecc. Se riesci a scriverlo in PowerShell, PoshBot può eseguirlo.

Documentazione

La documentazione dettagliata è disponibile su ReadTheDocs.

Compilare PoshBot

Vedi Compilare PoshBot per la documentazione su come compilare PoshBot dal sorgente.

Changelog

Le modifiche dettagliate per ogni release sono documentate nelle note di rilascio.

[YouTube] PowerShell Summit 2018 - Invoke-ChatOps: Livellati e cambia la tua cultura con chat e PowerShell

Alt text

Avvio rapido

Per iniziare subito, ottieni un SLACK-API-TOKEN per il tuo bot:

https://my.slack.com/services/new/bot

root@kitploit:~
# Install the module from PSGallery
Install-Module -Name PoshBot -Repository PSGallery

# Import the module
Import-Module -Name PoshBot

# Create a bot configuration
$botParams = @{
    Name = 'name'
    BotAdmins = @('<SLACK-CHAT-HANDLE>')
    CommandPrefix = '!'
    LogLevel = 'Info'
    BackendConfiguration = @{
        Name = 'SlackBackend'
        Token = '<SLACK-API-TOKEN>'
    }
    AlternateCommandPrefixes = 'bender', 'hal'
}

$myBotConfig = New-PoshBotConfiguration @botParams

# Start a new instance of PoshBot interactively or in a job.
Start-PoshBot -Configuration $myBotConfig #-AsJob

Utilizzo base:

root@kitploit:~
# Create a Slack backend
$backendConfig = @{Name = 'SlackBackend'; Token = '<SLACK-API-TOKEN>'}
$backend = New-PoshBotSlackBackend -Configuration $backendConfig

# Create a PoshBot configuration
$pbc = New-PoshBotConfiguration -BotAdmins @('<MY-SLACK-HANDLE>') -BackendConfiguration $backendConfig

# Save configuration
Save-PoshBotConfiguration -InputObject $pbc -Path .\PoshBotConfig.psd1

# Load configuration
$pbc = Get-PoshBotConfiguration -Path .\PoshBotConfig.psd1

# Create an instance of the bot
$bot = New-PoshBotInstance -Configuration $pbc -Backend $backend

# Start the bot
$bot.Start()

# Available commands
Get-Command -Module PoshBot

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Function        Get-PoshBot                                        0.12.0     poshbot
Function        Get-PoshBotConfiguration                           0.12.0     poshbot
Function        Get-PoshBotStatefulData                            0.12.0     poshbot
Function        New-PoshBotCardResponse                            0.12.0     poshbot
Function        New-PoshBotConfiguration                           0.12.0     poshbot
Function        New-PoshBotDiscordBackend                          0.12.0     poshbot
Function        New-PoshBotFileUpload                              0.12.0     poshbot
Function        New-PoshBotInstance                                0.12.0     poshbot
Function        New-PoshBotMiddlewareHook                          0.12.0     poshbot
Function        New-PoshBotScheduledTask                           0.12.0     poshbot
Function        New-PoshBotSlackBackend                            0.12.0     poshbot
Function        New-PoshBotTeamsBackend                            0.12.0     poshbot
Function        New-PoshBotTextResponse                            0.12.0     poshbot
Function        Remove-PoshBotStatefulData                         0.12.0     poshbot
Function        Save-PoshBotConfiguration                          0.12.0     poshbot
Function        Set-PoshBotStatefulData                            0.12.0     poshbot
Function        Start-PoshBot                                      0.12.0     poshbot
Function        Stop-Poshbot                                       0.12.0     poshbot
Scarica lo strumento