Тёмный

The Pwnagotchi Project: Windows Internet Connection Sharing with PowerShell 

Cybercat Labs
Подписаться 2,5 тыс.
Просмотров 3,7 тыс.
50% 1

This video is designed to get your Pwnagotchi connected to the internet using a Windows PowerShell script.
Link to script used in the video: github.com/evilsocket/pwnagot...
Commands to run:
powershell -ExecutionPolicy ByPass -File .\win_connection_share.ps1 -SetPwnagotchiSubnet
(The script might say you'll have to restart Windows. If you aren't able to get a connection restart your PC when the script prompts you to.)
powershell -ExecutionPolicy ByPass -File .\win_connection_share.ps1 -EnableInternetConnectionSharing
IMPORTANT READ ME:
Many people on Windows 11 have reported issues with this script so use at your own risk if running Windows 11.
This script may need to be ran more than once as it's known to be somewhat unstable on the Windows Operating System.
Read Pinned comment for additional information.

Наука

Опубликовано:

 

14 янв 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 56   
@cybercatlabs
@cybercatlabs 6 месяцев назад
UPDATED 1/17/24 If PowerShell gives you errors even after restarting your PC and you ask for help here INCLUDE the error(s) in your comment. ===============TEMPORARY NAME FAILURE IN RESOLUTION POSSIBLE FIX=============== I think it has something to do with the script getting caught. Restart your PC. Then go to your primary network adapter that has ethernet coming in. Right click on that go to Properties Then go to the Tab at the top that says Sharing. Uncheck the box. Now run the PowerShell script again as administrator from the very beginning. ===============TEMPORARY NAME FAILURE IN RESOLUTION POSSIBLE FIX===============
@MrBarkerdustin
@MrBarkerdustin 6 месяцев назад
I'm stuck Windows 11 of course (sad face emoji): An event was unable to invoke any of the subscribers (Exception from HRESULT: 0x80040201) + CategoryInfo : OperationStopped: (:) [win_connection_share.ps1], COMException + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,win_connection_share.ps1
@cybercatlabs
@cybercatlabs 6 месяцев назад
Try this: Go to "network connections", right click on your primary wifi/ethernet adapter go to>Settings>Sharing, and then select the RNDIS network. Please let me know if that works or not. Windows 11 may be ignoring that command causing this issue. I got that info from this link here: github.com/evilsocket/pwnagotchi/issues/431
@sleepslugg
@sleepslugg 5 месяцев назад
Hey! Ran the new image and it worked good for a bit. W11 was giving me issues again with the powerscript. I found three possible fixes for issues that come up. If there is lag or issues with GUI or powershell -Run this in powershell as admin: DISM /Online /Cleanup-Image /RestoreHealth Connectivity issues -Under network and internet settings > advanced network settings > network reset Other connectivity issues -Control panel > Windows Tools > services > scroll down to internet sharing connection and restart Inverted color -Trying out this new image my screen became inverted, and I couldn't change it with the config.toml file. Had to go into the .py file and switch the color values. Other issues I'm trying to fix -After powershell script ran, screen went back to inverted -It worked initially but then froze up, was able to ping google then it stopped -When plugged in the data port, the web gui stopped loading, windows gui froze completely until I unplugged -When I plugged into the power port it still booted up inverted, it crashed and restarted multiple times but is running now Going to troubleshoot a bit more and post any fixes or insights
@lyoko111
@lyoko111 5 месяцев назад
YOU MUST DO THIS EVERY TIME YOU DISCONNECT/RECONNECT YOUR PWNAGOTCHI FROM WINDOWS PC.
@cybercatlabs
@cybercatlabs 5 месяцев назад
Mine holds connection without needing to redo it every time. @@lyoko111
@bradyjacobs4971
@bradyjacobs4971 6 месяцев назад
I’ve been actively tinkering with pwnagotchi for the last week because of your videos. Thanks for the content and motivation for me to work on some projects myself. Would be interested in watching a video related to various hats and add ons like usb antennas for the pwnagotchi.
@cybercatlabs
@cybercatlabs 6 месяцев назад
It really is a fun project. Doing different displays would be fun may be too costly at the moment. I am however working on the USB antennas one. Running tests for two currently.
@bradyjacobs4971
@bradyjacobs4971 6 месяцев назад
It sure is! I usually dabble in privilege escalation and iOS tweak development so this is a refreshing project and quite the rabbit hole. I’ve had some progress with the ALFA Network AWUS036ACS Wide-Coverage Dual-Band USB antenna . You mind sharing which antennas you’re working on currently?
@bradyjacobs4971
@bradyjacobs4971 6 месяцев назад
Also, the display aspect is pretty straightforward when you use SPI interface from the research/testing I’ve done.
@cybercatlabs
@cybercatlabs 6 месяцев назад
ALFAs are my go to.
@mauruskpus
@mauruskpus 5 месяцев назад
Also... you can solder an antenna adapter to the Raspberry and use the one you want without using a USB Raspberry zero w1 is a U-shaped contact (two longs 1 in mid-small) above the DATA PORT. Raspberry zero w2 is a C-shaped contact (two longs 1 in mid-small) beside the DATA PORT. check it out, maybe we can have some fun :)
@ThomSonnyYeah
@ThomSonnyYeah 6 месяцев назад
You are a legend in the community. Thank you for taking the time to help.
@cybercatlabs
@cybercatlabs 6 месяцев назад
I'm just a tinkerer but I appreciate the kind words!
@BooktownBoy
@BooktownBoy 6 месяцев назад
Thank you for this, I'd been seriously over thinking it all.
@cybercatlabs
@cybercatlabs 6 месяцев назад
Hopefully it helps!
@soldiernumberx8921
@soldiernumberx8921 5 месяцев назад
OMFG guys I figure it out, to make it work on windows 11 first turn on the hotspot {also turn off power saving hotspot mode so it will not switch off after 1 min or so} then run the second command like in the tutorial. For some reason that is the only way I got it to work even though I am connected through cable in pwnagotchi data port. update: it works but I had it crash couple of times. So not perfect fix, switching to linux or mac is the way.
@filumeyer7895
@filumeyer7895 4 месяца назад
Thank you, it works!!
@baggedd5087
@baggedd5087 4 месяца назад
That worked for me too!!! I’ve been trying to get it to work for like a week. This finally did it!
@arkanadem8881
@arkanadem8881 3 месяца назад
Had the problem, but I did that and it resolved. Thank you. (Windows 10)
@Gatherel
@Gatherel 3 месяца назад
When you run the second command, do you now pick the hotspot as the internet adapter?
@soldiernumberx8921
@soldiernumberx8921 3 месяца назад
@@Gatherel no, the hotspot is only there to trick the windows to let the connection happen.
@LouieLouieLouie
@LouieLouieLouie 3 месяца назад
best damn tutorial ever!!! for this subject thank you a millions times !!
@sonnyeckford8746
@sonnyeckford8746 6 месяцев назад
Amazing worked like a charm!!!
@cybercatlabs
@cybercatlabs 6 месяцев назад
Great to hear!
@ClickClack_Bam
@ClickClack_Bam 6 месяцев назад
Are you using Windows 11?
@ClickClack_Bam
@ClickClack_Bam 6 месяцев назад
All my parts came to build a Pwnagotchi. I hope to build one & it works properly lol.
@MichaelTurrell
@MichaelTurrell 5 месяцев назад
Another Great Video - Can you do a video showing us how to pull the pcap from the pwnagotchi and then use hashcat/wireshark for our personal networks?
@cybercatlabs
@cybercatlabs 5 месяцев назад
Added to my notes for potential future video. Thanks!
@bradyjacobs4971
@bradyjacobs4971 6 месяцев назад
I’ve gotten this working on Windows 10, MacOS, and iOS 17.2. Windows and Mac are both over USB while iOS is via Bluetooth/personal hotspot.
@caseyleonard6506
@caseyleonard6506 4 месяца назад
Thank you!
@brickerhaus
@brickerhaus 5 месяцев назад
I can't get it to work. Tried on my Mac M1, and a Windows 11 laptop. Any other advice. I can go in an ping the device from both. I have FTP set up and can't FTP into either. Trying to get the pisugar to show the battery. No dice.
@kasparr
@kasparr 3 месяца назад
thanks again :)
@Benimen106
@Benimen106 2 месяца назад
Roses are red violets are blue, when Cybercat Labs makes a video it works too.
@DirtyPlumbus
@DirtyPlumbus 6 месяцев назад
👍
@user-cw4oi3kl3f
@user-cw4oi3kl3f 5 месяцев назад
Looks like the shell cant be in C: ew folder. moving it to the download folder worked like a charm
@cybercatlabs
@cybercatlabs 5 месяцев назад
Yea windows gets a bit sus when you try to run PowerShell scripts from main directory.
@jediwompa
@jediwompa 5 месяцев назад
doesn't work for me. Windows 11
@emppppu
@emppppu 6 месяцев назад
Still no internet on the device
@bradyjacobs4971
@bradyjacobs4971 6 месяцев назад
Windows or Mac?
@gvieiraleao
@gvieiraleao 6 месяцев назад
Same here, windows...
@user-cw4oi3kl3f
@user-cw4oi3kl3f 5 месяцев назад
Powershell issue with win_connection_share I was trying to run from c:\pi. it doesn't seem to want to run from here. As soon as I moved it to the downloads folder everything worked
@DeathSmoke187
@DeathSmoke187 11 дней назад
​@@gvieiraleaodid you figure it out?
@gvieiraleao
@gvieiraleao 11 дней назад
@@DeathSmoke187 In my Desktop runing Windows dont work, but in my laptop that's ok. 😅 In Linux on Desktop works too
@MrDorin
@MrDorin 5 месяцев назад
why dont i see my message arg
Далее
Сколько метров чернил в ручке?
16:35
50 YouTubers Fight For $1,000,000
41:27
Просмотров 89 млн
Disable These 3 Windows Settings Now! (For Security)
12:26
Pwnagotchi video 2 - what to do next
14:40
Просмотров 51 тыс.
Best operating system for Servers in 2024
11:41
Просмотров 31 тыс.
Wireless Hacking on the Steam Deck with Kali Linux
10:00
Scripting & Automation for Beginners
13:14
Просмотров 30 тыс.
Pwnagotchi + GPS + VPN
3:20
Просмотров 20 тыс.