No video

Security in Go - Building a Port Scanner

  Рет қаралды 14,809

TutorialEdge

TutorialEdge

4 жыл бұрын

👨‍💻 For the price of a ☕ every month, sign up and gain access to a growing list of premium courses on my site - tutorialedge.net/pricing/ 👩‍💻
● SUBSCRIBE to see more of my Videos & hit that LIKE button to support the channel!
Text Tutorial: tutorialedge.net/projects/bui...
‎● My Twitter ► ⁦‪ / elliot_f
‎● My Website ► tutorialedge.net

Пікірлер: 21
@khashe
@khashe 4 жыл бұрын
Really appreciate these Go tutorials. Good Go content is hard to come by.
@re43p3raod3
@re43p3raod3 2 жыл бұрын
i tired making a good port scanner in rust since im building an AI and was going o add a thing where you can say a target and port scan it but sadly there wasnt any good tutorials for it so your channel and vid cam up. i followed along and i have to say amazing work man, this saved me probobly a good week trying to find a good tutorial! keep doing what your doing man
@JohnLeTerron
@JohnLeTerron 4 жыл бұрын
This was great. Have to try this with goroutines to do the checks asynchronously
@colinmsmall
@colinmsmall 4 жыл бұрын
Thanks for making these
@BabaDee08
@BabaDee08 4 жыл бұрын
This is Awesome. Thanks man.
@vishwavasudevan6848
@vishwavasudevan6848 4 жыл бұрын
Keep rocking buddy
@xrosspi
@xrosspi 4 жыл бұрын
Hey, great video! I've just got a note about the bit at the end. I don't think the UDP part of this code will provide useful results - with TCP, the connection is successful when you send a packet and get an acknowledgement in response; with UDP, the connection is considered successful if you just send the packet (regardless of if anyone actually receives it). Notice that the UDP scan results report all ports as open.
@Tutorialedge
@Tutorialedge 4 жыл бұрын
Thanks! Yeah I was going based on the 5 most commonly used port scanning methods, one of which is UDP. I believe tools like nmap actually send custom UDP packets to each of these ports in order to elicit a response from them which gives them more information which can be used in a pentest. I'm thinking about going more in-depth with this and starting to add more advanced features like this, but it will be built up gradually as I'm still at the beginning of my journey learning about pen-testing!
@JoakimBB
@JoakimBB 4 жыл бұрын
Black hat go?;) I subbed btw!
@rcoder9507
@rcoder9507 3 жыл бұрын
performance can be improved using go routines
@CinemaRaps
@CinemaRaps 2 жыл бұрын
Hi, what IDE are you using in this tutorial?
@benalpha2297
@benalpha2297 2 жыл бұрын
Hello bro! How can I get the body (JSON, plain text,...) of a request from the packets I've got?
@rokettayfas9711
@rokettayfas9711 4 жыл бұрын
Hey, What is that font?
@williamwatkins6669
@williamwatkins6669 2 жыл бұрын
Why are all the udp opened?
@joelpjphnson2347
@joelpjphnson2347 Жыл бұрын
All tcp are closed
@joelpjphnson2347
@joelpjphnson2347 Жыл бұрын
All tcp closed all udp opened
@ygjt76v0-----
@ygjt76v0----- 3 жыл бұрын
Github repo doesnt work /gone
@codeconcept
@codeconcept 10 ай бұрын
Great tutorial thanks :) I tried adding goroutines: the scan becomes almost immediate. func InitialScan(hostname string) []ScanResult { var results []ScanResult wg := sync.WaitGroup{} for i := 1; i < 1024; i++ { wg.Add(1) go func(port int) { fmt.Printf("Go routine created for port %v ", port) results = append(results, ScanPort("tcp", hostname, port)) results = append(results, ScanPort("udp", hostname, port)) fmt.Printf("Go routine %v done ", port) wg.Done() }(i) } wg.Wait() return results } Way faster but the results are displayed in a random order :)
@r4ndsen
@r4ndsen 2 жыл бұрын
amazing how you dont use go routines
Building a Go REST API using Gorm and Fiber!
26:10
TutorialEdge
Рет қаралды 77 М.
Understanding Contexts in Go in 5(-ish?) Minutes
15:14
TutorialEdge
Рет қаралды 60 М.
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 24 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 42 МЛН
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,3 МЛН
Женская драка в Кызылорде
00:53
AIRAN
Рет қаралды 505 М.
Golang Channels Or Wait Groups? Let Me Explain.
18:32
Anthony GG
Рет қаралды 20 М.
This Is The BEST Way To Structure Your GO Projects
11:08
Melkey
Рет қаралды 68 М.
Go sync.WaitGroup Basics - tutorial
11:34
TutorialEdge
Рет қаралды 24 М.
BSides DC 2019 - Hands-on Writing Malware in Go
35:42
BSides DC
Рет қаралды 11 М.
Go 1.22 is bringing about a new future for the language.
4:32
Dreams of Code
Рет қаралды 151 М.
Working with JSON in Go - Tutorial
14:14
TutorialEdge
Рет қаралды 42 М.
Go Pointers: When & How To Use Them Efficiently
14:09
Anthony GG
Рет қаралды 71 М.
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 24 МЛН