Skip to content

Instantly share code, notes, and snippets.

View McCannDahl's full-sized avatar
🌎

nomrom McCannDahl

🌎
View GitHub Profile
@McCannDahl
McCannDahl / gist:fd7ef4ad358d2230ee3b4c4daa9775a5
Created January 27, 2022 04:24
Flutter Provider cheatsheet
1. import provider package - https://pub.dev/packages/provider
2. create a change notifier
class CartModel extends ChangeNotifier {
final List<Item> _items = [];
void add(Item item) {
_items.add(item);
notifyListeners();
}
}
3. Run app with provider
@McCannDahl
McCannDahl / gist:a3cdde895ab1a758bffe8b5780c26ae5
Last active November 6, 2023 22:14
Raspberry Pi 3 in Monitoring Mode

Want to do some ethical hacking with only a Raspberry Pi 3?

No extra hardware required! Follow these steps:

  1. Download kali for raspberry pi & flash the OS onto the SD card
  2. iw phy phy0 interface add mon0 type monitor
  3. ifconfig mon0 up
    *alternatively try: airmon-ng start wlan0

To hack wifi