ohWARisme
the breadcrumbs can start here.
https://apenwarr.ca/log/20190201
your smart kid figure it out youll learn more that way versus being spoon fed.
BTW im sure that posting such code here would be a criminal activity that dang and others would frown upon profusely.
The title of this forum "hackernews" is concerning, there seem to be no hackers here at all. All of the "non trivial" actions here are non trivial to those that know very little about CS in general, or have an extremely antiquated perspective on the nature and extent of system penetration as it stands today. A "normie" is not likely to know anything about lockpicking, but even an apprentice locksmith finds it extremely trivial, its just a matter of perfecting dexterity over a couple of months to be quick and slick about it.
Facebook is one of the biggest threats to national security we have in our back yard, and the lackadaisical attitudes displayed here regarding security, only set that threat in stone and perpetuity.