How to use Windows Firewall to block Hackers and Malware

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 มิ.ย. 2024
  • Using intelligent automation in this Windows Firewall tutorial you can block hackers and malware ips using community blocklists.
    Live workshop event on Discord: discord.gg/XyM5SJqZ?event=111...
    Get Crowdsec Open Source IDS (sponsor): www.crowdsec.net/?mtm_campaig...
    Buy the best antivirus: thepcsecuritychannel.com/best...
    Join the discussion on Discord: discord.tpsc.tech/
    Get your business endpoints tested by us: tpsc.tech/
    Contact us for business: thepcsecuritychannel.com/contact
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 226

  • @pcsecuritychannel
    @pcsecuritychannel  ปีที่แล้ว +42

    We will have a live discord workshop and hangout to discuss some of the concepts in this video, building a malware lab etc. Make sure you sign up in the events section of our discord if you'd like to attend next week: discord.com/invite/XyM5SJqZ?event=1112466823535919194

    • @fiverZ
      @fiverZ ปีที่แล้ว +4

      But why Discord? From a security standpoint, Discord is a big yikes. Any other ways to take part?

    • @Zach-Hyde
      @Zach-Hyde ปีที่แล้ว +1

      @@fiverZ Why is Discord a big yikes?

    • @fiverZ
      @fiverZ ปีที่แล้ว +6

      @@Zach-Hyde Excessive data collection, blatant GDPR violations, proprietary, shady af CEO, very easy to abuse the reporting system... There's a few reasons to avoid it.

    • @Zach-Hyde
      @Zach-Hyde ปีที่แล้ว +4

      @@fiverZ yikes

    •  ปีที่แล้ว +1

      Is there a way to do this on a router level?
      Or wouldn't that help at all,

  • @SonicFan535
    @SonicFan535 ปีที่แล้ว +217

    Just so you know, the example script you showed could potentially have a huge vulnerability, because if the server hosting that file with the IPs ever gets compromised, an attacker could basically inject whatever Powershell command they want in place of the "ip" that you're appending to the command string, and just like that they can perform arbitrary remote code execution on your PC.

    • @gamewarrior9107
      @gamewarrior9107 ปีที่แล้ว +14

      so should i do this or no

    • @rosiepone
      @rosiepone ปีที่แล้ว +9

      it would be a good idea to just make a weekly reminder to manually download the file from a legitimate site rather than automatically downloading it every day

    • @sanjaykrishnaob
      @sanjaykrishnaob ปีที่แล้ว +1

      If anything like that does happen
      Your antivirus product will kick in to block those threats or block RCE using its behavioral component.
      If the antivirus is from reputable company ofc.....

    • @tiagoferreira086
      @tiagoferreira086 ปีที่แล้ว +52

      A simple more or less effective solution, would be accept only numeric values, and maybe apply some kind of pattern detection to check if it is in an ip valid format.

    • @CesarAugustoRL
      @CesarAugustoRL ปีที่แล้ว +2

      Good catch!

  • @EnejJohhem
    @EnejJohhem ปีที่แล้ว +173

    Imagine blocking Microsoft using Windows Firewall

  • @CesarAugustoRL
    @CesarAugustoRL ปีที่แล้ว +41

    Great video, just ensure that the list has IP numbers in the correct format, so to avoid code injection.

    • @-blackcat-4749
      @-blackcat-4749 10 หลายเดือนก่อน +1

      Both colorless act. Part 📛 of the day

    • @biohuk
      @biohuk 3 หลายเดือนก่อน

      ​@@-blackcat-4749but where to put it exacly?

  • @bleakyfinder2692
    @bleakyfinder2692 ปีที่แล้ว +44

    Leo, you are talking to normal people here. Unless you show us all step by step from a blank start,this is very good content for tech heads, clear to me and maybe most as Mud.

    • @rainzerdesu
      @rainzerdesu ปีที่แล้ว +8

      I think he makes some assumptions since I think a "normal" person, as it were, wouldn't be actively watching a PC security channel. If it were a safe assumption to believe the average person would, it wouldn't repeatedly show most common passwords being like 123456

    • @CubensisEnjoyer
      @CubensisEnjoyer ปีที่แล้ว +8

      I mean this is pretty much step by step...I would say this is about as beginner-friendly as this topic gets.

    • @walid6329
      @walid6329 ปีที่แล้ว +1

      get friendly without everything he mentioned, pause the videos from time to time you'll get it,
      it's beginner friendly

    • @filipskater
      @filipskater ปีที่แล้ว

      Are you 12?

    • @googleinc6033
      @googleinc6033 ปีที่แล้ว +2

      ask chat gpt

  • @mettbonbon2186
    @mettbonbon2186 9 หลายเดือนก่อน

    Thanks for the cool guide! I did the same thing but with powershell and it makes one rule for inbound and one for outbound. It works great and downloads the list for me as well.

  • @anwarulbashirshuaib5673
    @anwarulbashirshuaib5673 ปีที่แล้ว +22

    @TPSC Just to stay safe, when parsing those IP addresses, you can create a regex pattern that would match only IP addresses and nothing else. That would make the process of injecting remote code much more difficult.

    • @JakubVacek42
      @JakubVacek42 ปีที่แล้ว

      Exactly what I was thinking. I'd also log rejected entries so I'd know if the source cannot be trusted.

  • @Martin-ot7xj
    @Martin-ot7xj ปีที่แล้ว +2

    Hi there, it was one of the best tutorial videos you made and shared with us. kindly upload more like this content regarding the block Vulnerable IP to protect more on Windows and router. thnx

  • @yddkvnxo5151
    @yddkvnxo5151 8 หลายเดือนก่อน +2

    awesome vid dude thank you! im getting into cyber security, doing a course so i can get my foot through the door an stuff like this is so helpful on my journey. The reason i decided to get into cyber sec is because I was playing a game one night and some dude got mad an hit me offline, i couldnt play for a whole day almost. With zero knowledge on how to combat that I was like yeah I wanna learn this stuff an so here I am. Thanks again! I look forward to learning more stuff from your vids! cheers!

  • @brianhenry4662
    @brianhenry4662 ปีที่แล้ว

    Very informative video. I actually started building a small tool to check for blacklisted IPs using the same resource.

  • @jibberjabber6919
    @jibberjabber6919 11 หลายเดือนก่อน +1

    Added these blocklists on my router. Thanks.

  • @basroos_snafu
    @basroos_snafu ปีที่แล้ว +1

    I would love to have a list of malicious Microsoft IP's that were updated daily and implemented the way you demonstrated... What I have done manually is blocking the Windows Search executable, it works well, although it delays the local search function a bit. Thanks for this interesting video!

  • @fr34k09
    @fr34k09 ปีที่แล้ว

    ended up using openai to fix whatever happened with the text extracted from the screenshot that I tooked and it works, thx 👍

  • @1superheld
    @1superheld ปีที่แล้ว +39

    Wouldn't it be better to use 1 rule with multiple ips?
    But otherwise nice learning!

    • @pcsecuritychannel
      @pcsecuritychannel  ปีที่แล้ว +10

      Yes. I thought about that but this was just the simplest way I could find to implement it. If you can make a more efficient version that works I’m happy to pin it.

    • @1superheld
      @1superheld ปีที่แล้ว +2

      @@pcsecuritychannel Left a new comment with a PoC in Powershell :)

    • @nenume00
      @nenume00 ปีที่แล้ว +2

      @@1superheld where is it ?

  • @Rareparrot
    @Rareparrot ปีที่แล้ว +4

    Thanks for the video - I went down a slightly different path. Firstly - I wasn't sure when you said
    "delete all the rules every day" you meant the default ones windows already had, so that wasn't clear at all. If you were deleting your firewall rules everyday, a good script would include a command line to backup the firewall rules that are already there before deletion. Not all of us are gurus so a safe backup practise is very healthy :)
    Also, secondly, I go back a bit :) am over 50 (used the text based early internet) and remember using a program called peerblock. Love it or hate it, it is still to my surprise available to download. It's also portable. I don't recommend anyone use it BUT it does give the option of leaving the firewall (and settings untouched).
    By me using this program ( a proof of concept too) it was able to suck up the complete block list :) For it to work it needs to run all the time. Back in the day it was popular but then unpopular probably because someone worked out how to bypass it........... Still really appreciate these videos and learned about the abuse list from it, Thanks so much......!

  • @pepeshopping
    @pepeshopping ปีที่แล้ว +4

    The proper way to do it is at the firewall/router level!
    A proper malware that came through phishing would have no problem disabling the windows firewall completely.

  • @Rekit0
    @Rekit0 ปีที่แล้ว +13

    In addition, you can make this more automated by adding a task to task scheduler to run this script every day using pythonw, so you don't get the terminal popup while using your computer.

    • @pcsecuritychannel
      @pcsecuritychannel  ปีที่แล้ว +1

      Yes, I forgot to add that part, that is how you automate the process daily.

    •  ปีที่แล้ว

      Thanks for pointing this out. I noticed the missing piece of running that script wachting this video. 👍

    • @ireallyreallyreallylikethisimg
      @ireallyreallyreallylikethisimg ปีที่แล้ว +1

      isnt the list going to end up being multiple gb's in size though?

    • @RetrospillBlogspotNO
      @RetrospillBlogspotNO 10 หลายเดือนก่อน +1

      @@ireallyreallyreallylikethisimg The list in his example is tiny - ~2kb, so no.. He deletes everything already blocked, and then adds everything from the most recent list.. You could probably find a lot bigger ip lists online - but never multiple gb's.. If that's the case you'd better off whitelisting the IPs you trust :)

  • @tokhyanwaruddin2631
    @tokhyanwaruddin2631 ปีที่แล้ว +15

    Hi, Thanks for the to the point video. I do have one comment, in my opinion it would be more clean to have one "BadIP" rule with all the IP address in it instead of having 100+ firewall rules. can you also show how to do that with the python script?

  • @NO-END
    @NO-END ปีที่แล้ว

    Good video Leo I knew about this already i have Bitdefender but if you are on a budget or you love windows Firewall this is a good thing to do. I would set the rules manually though.

  • @BeamngPerimeters
    @BeamngPerimeters ปีที่แล้ว +15

    when i click on a recent video on your channel my cat jumps onto my lap and watches the whole thing with me

    • @3isr3g3n
      @3isr3g3n ปีที่แล้ว +3

      Network security cat, nice!

    • @therealhussein
      @therealhussein ปีที่แล้ว +1

      well intelligent and informed cat

  • @Mr420
    @Mr420 6 หลายเดือนก่อน

    Thanks took some trys never coded much before

  • @csparty11
    @csparty11 ปีที่แล้ว +8

    You could do this on every host but i think it would be way smarter to do this on a central router/firewall solution like pfsense/opnsense or a commercial solution.

  • @priyojitdeb1891
    @priyojitdeb1891 หลายเดือนก่อน

    nice and informative, thanks!

  • @daLiraX
    @daLiraX ปีที่แล้ว +7

    Not sure how the performance is affacted by the Windows Firewall itself.
    But if it behaves like the hosts file it... will be pretty much unusable after a certain point, since it will become somewhat unresponsive for minutes.
    But still an interesting idea, it's still somehow sad that we lack a simple solution to basically have a pihole in your PC itself (since those are hard to get still and became pricey aswell).

  • @walid6329
    @walid6329 ปีที่แล้ว +1

    awesome one mate✔️😛

  • @nicolascivitelli3859
    @nicolascivitelli3859 ปีที่แล้ว

    Muchas gracias por el video, muy buena idea.

  • @Wexutar
    @Wexutar ปีที่แล้ว +6

    It would be nice to make the script available to download for those who are not into programming and scripting. Please

  • @Chewbacca55
    @Chewbacca55 ปีที่แล้ว +4

    Can you not just add all IPs to one rule insteald of creating a single rule for each IP? Would be faster, right?

  • @empatikokumalar8202
    @empatikokumalar8202 ปีที่แล้ว +1

    Can we apply this method to the programs that we use but are constantly controlled? For example, we use program A without a license. to its own company so that it does not hinder its use.
    Does it prevent you from sending information?

  • @0x-003
    @0x-003 ปีที่แล้ว +1

    do you have a video on how you setup these testing machines? i want to learn how to setup mine so I can test programs etc

  • @erwinancer6138
    @erwinancer6138 ปีที่แล้ว +1

    Fantastic thank you

  • @salafzoon
    @salafzoon ปีที่แล้ว +1

    Thank you for your informative video, was wondering where I can get your script please?

  • @Zetsua
    @Zetsua ปีที่แล้ว +1

    Yo! Can you do a video on the virus that was in Minecraft mods recently? Would like to know more about it and see what all it does. I thankfully wasn't infected but perhaps you can see what all the virus touches and messes with.

  • @sir.keyboardwarrior5357
    @sir.keyboardwarrior5357 ปีที่แล้ว +5

    Great stuff. I used your script but it wasn’t adding in the rules. With help of ChatGpt, I managed to make few changes and it is running perfectly in my Windows 11 22H2 version. Thank you 🙏

    • @vanessamoises8090
      @vanessamoises8090 ปีที่แล้ว

      Hi, may i know how did you make it work? I also used the script but i cannot run it.

    • @sir.keyboardwarrior5357
      @sir.keyboardwarrior5357 11 หลายเดือนก่อน

      sure, It was just some tweaks here and there. How do I share you the code?

    • @sir.keyboardwarrior5357
      @sir.keyboardwarrior5357 11 หลายเดือนก่อน

      @@vanessamoises8090 sure, It was just some tweaks here and there. How do I share you the code?

  • @Scubad1975
    @Scubad1975 6 หลายเดือนก่อน

    Hello love videos question what's the best firewall I use Windows Firewall and Antimalware bytes also what would you recommend for security

  • @FurryNonsense
    @FurryNonsense ปีที่แล้ว +1

    Please do another top anti-virus tier list video

  • @ianmusicstein
    @ianmusicstein ปีที่แล้ว +1

    When I get pop ups to allow a game to use the firewall I decline it and the game still works. I checked the firewall rules and in some cases windows just allowed it anyway, in other it is not selected as allowed, but still works anyway.

  • @souviksamanta8938
    @souviksamanta8938 ปีที่แล้ว

    if I wish to add the link from this file then how to do without automation ?

  • @dhuantegg
    @dhuantegg ปีที่แล้ว

    Nice video dude, but I’m getting in doubt. Recently I decided to replace the Windows Defender to Bitdefender Antivirus Free version + comodo firewall and I’ve noticed gains over performance. Here’s my question should I use my actual combo with this tool? or I’m safe with Bitdefender + comodo? (i know that my pc can be susceptible to attacks or any kind of virus) I hope someone can guide me

  • @gearfriedtheswmas
    @gearfriedtheswmas ปีที่แล้ว +4

    I just use Simplewall and block everything I don't need or what I don't understand why it wants to connect.

  • @Schnitzer325ci
    @Schnitzer325ci ปีที่แล้ว

    Is 365 referencing this site already? Or do we have to add IOC list and if so, how do we keep that updated without a CSV pull via PS

  • @Zachsnotboard
    @Zachsnotboard 3 หลายเดือนก่อน

    so do these rules expire ? Or the IP is blocked indefinitely, because that seems like it could cause some issues as those IPs may be used for legitimate services in the future

  • @jackfishthe6th373
    @jackfishthe6th373 ปีที่แล้ว +6

    Keep in mind that if you create a lot of rules in Windows Defender it will unfortunately slow down your internet speeds. (This comment was made in error, read further comments below)

    • @pcsecuritychannel
      @pcsecuritychannel  ปีที่แล้ว +1

      I have seen no evidence of that. Have you tested that? How did you measure it.

    • @jackfishthe6th373
      @jackfishthe6th373 ปีที่แล้ว +1

      @@pcsecuritychannel Good thing you asked because I forgot I made this comment. I unfortunately made the confusion of this blocking method that you discussed with a different method of editing the Hosts file on a Windows 10 OS. My previous comment was actually in regards to the method of editing the Windows Hosts file. If you want more explanation on the Hosts file method and how I tested that let me know. Sorry for the mistake. 👍

  • @verynice5258
    @verynice5258 ปีที่แล้ว

    Thank you

  • @SonOfJoy
    @SonOfJoy ปีที่แล้ว

    Hey TPSC , What is the way that I can get a copy of that script that you wrote to have all of those Bad IP's blocked by Windows Firewall?

  • @saviorvx1883
    @saviorvx1883 ปีที่แล้ว

    i reinstall windows every other day, and i tend to export my setting and then convert it to a script be it app settings, registry tweaks etc to a .bat or .cmd
    i wanted to know if the ips can be added onto one entry instead of having 1000s firewall entrys to keep it organised yknow...well ill be trying to configure it thank you

  • @marksvirsky9103
    @marksvirsky9103 ปีที่แล้ว +10

    Great content as always. Next phase: How to block windows spyware using windows defender

  • @CUBEOFSIX
    @CUBEOFSIX 10 หลายเดือนก่อน

    Could you make a video on how you would setup a fresh install of Windows 11?

  • @guilherme5094
    @guilherme5094 ปีที่แล้ว

    Really nice.

  • @privatechannel1272
    @privatechannel1272 ปีที่แล้ว

    Now what about what is the best free firewall? Is Comodo firewall good, I have that along side with my antivirus. (And I also have Crowdsec)

  • @aavvaallooss2
    @aavvaallooss2 ปีที่แล้ว +1

    I use Skynet Firewall available for Asus routers with Merlin firmware

  • @piffdaddy420
    @piffdaddy420 ปีที่แล้ว +1

    where can i find this script? and does comodo firewall automatically block the bad ips with their updates?

  • @AnthoJoh
    @AnthoJoh ปีที่แล้ว +5

    By adding all those rules, will that slow down a pc or internet browsing?

  • @Henk717
    @Henk717 ปีที่แล้ว +3

    I made a very similar script for the Half-Life 2 Deathmatch community since there is a malicious server that spams the server list with fake redirection servers.

  • @chris122380
    @chris122380 11 หลายเดือนก่อน

    Why not block these IP addresses using the host file that way they never come in to begin with where is the firewall still a better idea because it can block both directions? Will this slow down the firewall?
    How can we get a copy of this script? I don't see a link for it in the description.

  • @lenarnie2973
    @lenarnie2973 ปีที่แล้ว

    Need some soft to automate process, everyday download file and update list in firewall, but nice thing, i like it

  • @Steve-du1ic
    @Steve-du1ic ปีที่แล้ว

    You are the first person I ever heard call GUI "Gee You Eye" instead of "Gooey". Damn I'm old lmao

  • @synthlord6575
    @synthlord6575 ปีที่แล้ว +4

    I'm sure if I tried scripting that in Powershell, I would get errors for every line..

  • @sam.walker_dc
    @sam.walker_dc ปีที่แล้ว +1

    Love your videos! Keep up the awesome work!

  • @alitwiratama3939
    @alitwiratama3939 ปีที่แล้ว

    This video is great from beginner to protect PC from hacker and malware, but I create program same as you but I really got error in my program, the error code is: IndexError: list index out of range in code: ip = row[1]. How to fix this error? Thank you.

  • @mohammedodeh7601
    @mohammedodeh7601 ปีที่แล้ว +4

    Would an anti-virus like Bit Defender already have those IPs black listed?

    • @penultimatename6677
      @penultimatename6677 ปีที่แล้ว

      I suspect the answer is yes and likely better than Windows virus protection

  • @AhatiMaat
    @AhatiMaat ปีที่แล้ว

    Is Malwarebytes good compare to what you showed on your video.

  • @fbifido2
    @fbifido2 ปีที่แล้ว +1

    can your script subnet them to make the list smaller ??

  • @Carfreak226
    @Carfreak226 ปีที่แล้ว

    Would like to have this script. Please and thank you. Also, will this script work in PiHole on a network wide basis?

  • @ospy_edits
    @ospy_edits 9 หลายเดือนก่อน

    Hey man can you make a vedio of how to make a constantly swapping or bouncing ip I really need it

  • @moss8448
    @moss8448 ปีที่แล้ว

    Does not Malwarebytes Premium do this sort of thing? I have it and it constantly blocks sites.

  • @666KoXz666
    @666KoXz666 ปีที่แล้ว +3

    where to download script?

  • @grapefruitinstrument1394
    @grapefruitinstrument1394 ปีที่แล้ว

    Couldn't you use something like peerblock and add this list?

  • @HimanshuSharmazzzz
    @HimanshuSharmazzzz ปีที่แล้ว

    I believe I can simply use the mentioned blocklist with my Pihole ?

  • @nayeemx11
    @nayeemx11 8 หลายเดือนก่อน

    that great, can please give another video for getting all adult websites list, with blocking them. Also automate this on windows startup.

  • @fifteen8
    @fifteen8 3 หลายเดือนก่อน

    Wait, what? 7:58 "As far as I'm aware I've never really seen Windows firewall block the malware IPs I test with." Can you clarify?
    I used to manually set a lot of Windows firewall rules, and they did work. I also set rules to deny any application that wasn't whitelisted. It just got too cumbersome.

  • @murphybrown32216
    @murphybrown32216 10 หลายเดือนก่อน +1

    where is the file to download

  • @timetriad6199
    @timetriad6199 ปีที่แล้ว

    Is this available for home routers, like ASUS, Netgear, etc?

  • @prodbyd1972
    @prodbyd1972 ปีที่แล้ว

    Could you do that with a batch file ?

  • @d1m18
    @d1m18 10 หลายเดือนก่อน

    Does that Python script clear the old rules and start over?

  • @kingofrandom4060
    @kingofrandom4060 ปีที่แล้ว

    can you make a video for safing port master program

  • @Harb000
    @Harb000 10 หลายเดือนก่อน

    Comodo Firewall vs Windows Firewall which is better?

  • @ngbs75
    @ngbs75 ปีที่แล้ว

    how can i run the python script by pulling in a admin command prompt screen

  • @Abaddis-en2sr
    @Abaddis-en2sr ปีที่แล้ว

    Very good channel and my question is illegal apps in Play store installing my phone how much dangerous

  • @acolis89
    @acolis89 ปีที่แล้ว

    If using a pi-hole, will be this redundant?

  • @franciscohorna5542
    @franciscohorna5542 ปีที่แล้ว

    i dont use that i use norton smart firewall that comes with norton 360 delux plus for up to 5 devices

  • @walkabout16
    @walkabout16 ปีที่แล้ว

    How is this different from a Host file?

  • @arsims1
    @arsims1 ปีที่แล้ว

    I recommend: Loaris Trojan Remover, Malwarebytes, and any Endpoint security.

  • @ChaunceyGardener
    @ChaunceyGardener ปีที่แล้ว +1

    I just let Sordum's freeware Firewall App Blocker in whitelist mode and never have to deal with Windows Defender GUI itself. You can just add EXEs, processes and even folders into the window and voilá. Firewall configured in 5 seconds.

  • @rocha1001
    @rocha1001 ปีที่แล้ว

    how i can dowload the script? very useful thx for the work.

  • @SametKaratas-jm5zg
    @SametKaratas-jm5zg 14 วันที่ผ่านมา +1

    I use router Parental Controls feature to block malware and adult IP

  • @ovarb12
    @ovarb12 5 หลายเดือนก่อน

    Where can i get the script and what do i edit it with?

  • @mik3lang3lo
    @mik3lang3lo ปีที่แล้ว

    Newbie question, but can a bad ip become a good ip? You know, a year has passed, the person or malware that used that ip no longer exists and the number is allocated to something else.

    • @alevolt1596
      @alevolt1596 ปีที่แล้ว

      Pubblic Ip addresses are assigned by IANA (Internet Assigned Numbers Authority), then National organizations distribute them to Internet Service Providers and they administrate them. The choice to blacklist an ip is made by the ISP, if the ip address isn't use for malicius activity the ip is no long blacklisted

  • @study3954
    @study3954 8 หลายเดือนก่อน

    Can I set this on inbound as well?

  • @Vyr-kj1cr
    @Vyr-kj1cr ปีที่แล้ว

    Portmaster for the win

  • @Hex_Tv
    @Hex_Tv 2 หลายเดือนก่อน

    I can’t put my script in the command prompt

  • @nextworks3257
    @nextworks3257 ปีที่แล้ว

    nice video, i do already a .bat for do the same thing but when i enable the firewall my connection interrupt :/

    • @nextworks3257
      @nextworks3257 ปีที่แล้ว

      nothing i fixed, thanks for the proof of concept

  • @aminsec
    @aminsec ปีที่แล้ว

    where i can copy the python script ?

  • @andreracicot4881
    @andreracicot4881 ปีที่แล้ว +1

    Hello if you whant a better defender software go to peer to peer blocker. You make your firewalls. Tanks.

  • @vasstselepidis231
    @vasstselepidis231 10 หลายเดือนก่อน

    i am trying to make this script run and i get an error on line 9 as the following SyntaxError: '(' was never closed
    i have typed
    mycsv = csv.reader(filter(lambda x: not x.startswith(#), response.splitlines()))
    what have i written wrong ?
    help me out

    • @biohuk
      @biohuk 3 หลายเดือนก่อน

      ​@@CoolIcingcake3467how I can add statememt pattern inside the loop against the regex pattern that conforms to IP format?
      And how I add IP's to the rule
      if(ip)!=("dst_ip"):
      print("Added Rule to block",ip)
      rule="netsh advfirewall firewall add rule name='BadIP' Dir=Out Action=Block RemoteIP="+ip
      subprocess.run(["Powershell", "-Command", rule])

    • @biohuk
      @biohuk 3 หลายเดือนก่อน

      How to add IP's to the rule but not rules

  • @gearfriedtheswmas
    @gearfriedtheswmas ปีที่แล้ว

    Will it be possible to use the firewall as an ad blocker?

    • @Leonard_MT
      @Leonard_MT ปีที่แล้ว +1

      Yes, that is somewhat possible.

  • @myFares
    @myFares ปีที่แล้ว +5

    If you add large number of rules , your computer booting will be very very slow .

    • @enforcerridley158
      @enforcerridley158 10 หลายเดือนก่อน

      That certainly happens hen you do this with the host file.

  • @big_floppa
    @big_floppa ปีที่แล้ว

    Why not just use Simplewall?

  • @helderalmeida2790
    @helderalmeida2790 11 หลายเดือนก่อน

    Won't your PC overheat the CPU?

  • @XGaMePLaYeR1994x
    @XGaMePLaYeR1994x ปีที่แล้ว

    Can we use a pihole to block all these ip adressed ?

    • @jetenk
      @jetenk ปีที่แล้ว +1

      i think u can import list but dont remember since i'm using diversion & skynet now ^^