Everything posted by Botre
-
@Botre
Quality > quantity I'm not like Krys, postcount for me is a result of awesome content, not a goal in itself.
-
Easy Trade Method
public static boolean interactTil(String action, int i, int j, int k ... Parameter names
-
Select an animal hat for your cat [Graphic Design -- FREE]
- Select an animal hat for your cat [Graphic Design -- FREE]
Where's my boge this is boge (it's a blue doge) pls- Baby mald
He needs an osbot account asap. (Congratulations amigo)- Select an animal hat for your cat [Graphic Design -- FREE]
Cat with boge hat. pls- RIP Iceland
- July 3rd 2016
Congratzerino Erthang gon be orite!- GG WP UK; we'll remember you
It's really not up to the UK to just accept normal free movement of labour. Importation of EU workforce will most likely come with extra new costs for the UK. EU talent working in the UK will not be contributing to the EU's GDP anymore after all, so this loss of revenue will also need to be somehow compensated.- [Functional Snippet] Multi-Consumers
In my opinion, it's safer to finalize everything by default as opposed to leaving everything virtual by default. I prefer to selectively unlock doors instead of selectively locking them, I'm an eternal pessimist who's afraid of getting robbed.- GG WP UK; we'll remember you
I said they'd be worse, then I clarified that that agreements would still exist but with worse terms for the UK. It's not a contradiction, I just clarified my point. Ofcourse the UK will remain better off than the rest of the world so sure, the UK will be fine. It is ofcourse a mutual benefit to keep trading, but you can't expect the EU to give the UK the same EU financial deals that existed before without the UK fulfilling certain EU political duties, standards, agreements, etc.. Vulgar example: Since the UK is going to take in less immigrants than other EU countries, the extra immigration costs for other EU countries will need to be factored into financial deals. When I said crash earlier, it was a bit of an over-dramatization, but I'm very convinced that the outcome of the exit will not be as favorable as pro-leave voter though'd it'd be.- GG WP UK; we'll remember you
Do you really expect the EU to start giving the UK better deals now? My point is absolutely not that the EU is not going to trade with the UK anymore, my points is that the EU has alot more leverage power in negotiations with the UK since the UK is not part of the (standardized and collective-minded) union anymore :p There will still be a lot of deals, the terms will just be shittier for the UK than they were before.- GG WP UK; we'll remember you
The EU has a combined GDP of 12k billion, the UK has a GDP of 2.5k billion. Who do you think has the most leverage in UK <-> EU negotiations? Who do you think has the most leverage in negotiations with EU trading partners? Vulgar example: - EU has a deal with USA that creates 500 value for the USA. - UK wants to start dealing independently with the USA, and proposes a deal with the USA that can create 100 value. - EU warns USA that they need to greenlight this USA-UK deal, otherwise the EU-USA 500 value deal is of the table. - EU makes deal with UK, UK can trade with USA but only if EU gets 5% of all value and UK starts accepting X immigrants per year. - UK accepts deal and ends up losing more money and taking in more immigrants than post-brexit Yes, the UK accounted for 17% of the EU's GDP, it is significant and will of course affect the EU. But unless the UK is able to miraculously multiply it's GDP by 600% in the near future (nope), it will never be able to outbid the EU on any economic/politcal deal :p If you really think we lose out as much as you do then lol (please do compare the euro and sterling markets to see which one is reacting more stabiliy to the leave :p). The EU lost 2.5K billion of leverage power, the UK lost 14k billion and is going to need to renegotiate EVERYTHING with the rest of the world.- The UK has left the EU #Brexit
- GG WP UK; we'll remember you
The UK is pretty much going to have to renegotiate everything from scratch with the EU. The EU can afford losing a lot of deals with the UK, the UK can certainly not (without finding another ally of equal significance, but considering this act of disloyalty.. well gl :p) The new deals with the EU will be very unfavorable to the UK, it's simple economics and politics. Enjoy your crash :p- [Functional Snippet] Multi-Consumers
Java doesn't have variadic generics. These are multi-type consumers.- .
It's dubbed with an overly dramatic sound effect... Right ? (if not then rip that gril)- Runescape Music
I rarely play anymore but I'll usually listen to the game music.- !
The Elder Zelder Scrolls hype is real.- Explv's OSBot Manager
Nice job, will be checking out the source- Minitut: Virtual Methods / Final Methods / Cracking Safes
Intro Hello, today we are going to be cracking safes while learning a bit about virtual methods and how they are potentially exposing your code to exploits. Definition The wikipedia definition of "virtual method": In object-oriented programming, in languages such as C++, a virtual function or virtual method is an inheritable and overridable function or method for which dynamic dispatch is facilitated. This concept is an important part of the (runtime) polymorphism portion of object-oriented programming (OOP). Java In Java, methods are virtual by default, all methods are overridable unless any of the following criteria is met: A method is declared final. A method is declared static. The method's class is declared final (since the parent can not be sublcassed, an alternate implementation can not be provided). Annotations can be used in certain frameworks to devirtualize methods. The "Safe" class In order to point out some of the most basic vulnerabilities virtual methods can create, let's create a very simple POJO safe: This safe can be locked, unlocked with a password, and if unlocked: retrieve a treasure. public class Safe { private String password = "maldesto69"; private String treasure = "Treasure"; private boolean unlocked = false; /** * Unlocks the safe if the correct password is supplied. * @param password */ public void unlock(String password) { if(this.password.equals(password)) { unlocked = true; } else { throw new SecurityException(); } } /** * Locks the safe. */ public void lock() { unlocked = false; } /** * Checks whether the safe is unlocked. */ public boolean isUnlocked() { return unlocked; } /** * Returns the treasure if the safe is unlocked. */ public String getTreasure() { if(isUnlocked()) { return treasure; } else { throw new SecurityException(); } } } Here's how the designer intended the class to work: public static void main(String[] args) { // Create a new safe. Safe safe = new Safe(); // Print whether the safe is unlocked. System.out.println(safe.isUnlocked()); // Unlock the safe. safe.unlock("maldesto69"); // Print whether the safe is unlocked. System.out.println(safe.isUnlocked()); // Get the treasure. System.out.println(safe.getTreasure()); } false true Treasure Everything goes well and the treasure remain safe, until someone discovers the designer forgot protecting some of his methods, by anonymously sub-classing the treasure class (the class was not declared final) and overriding the isUnlocked method (which was also not declared final), the safecracker managed to entirely bypass the password system by simply making the lock getter return true unconditionally. public static void main(String[] args) { // Create a new safe, exploit the fact that isUnlocked is virtual. Safe safe = new Safe(){ @Override public boolean isUnlocked() { return true; } }; // Print whether the safe is unlocked. System.out.println(safe.isUnlocked()); // Get the treasure. System.out.println(safe.getTreasure()); } true Treasure There are plenty of solutions here: Make isUnlocked final so it can not be overriden. Make getTreasure use the variable instead of its getter. Make Safe final. Our designer opts to simply make isUnlocked final (something he will regret sooner rather than later), a new treasure is put in to the safe and everything is dandy. A couple of days later however, the programmer gets some reports about people finding odd items in their safe (panties, slimey socks, you name it (or don't)). public static void main(String[] args) { // Create a new safe, exploit the fact that getTreasure is virtual. Safe safe = new Safe(){ @Override public String getTreasure() { return "Fake treasure"; } }; // Print whether the safe is unlocked. System.out.println(safe.isUnlocked()); // Get the treasure. System.out.println(safe.getTreasure()); } false Fake treasure isUnlocked was secured, but getTreasure, a vital method of the class, remained untouched and allowed the nasty hacker to spoof fake treasure return values. The safe was sabotaged, customers panicked, the programmer's client faced multiple law suits and our designer was of course fired, never to work a programming job in his life again. The end.- This election is going to be so much fun
I feel like I'm your dirty post count whore... stop abusing me- THE ITEM TO YOUR RIGHT WILL SAVE YOU IN A ZOMBIE APOCALYPSE, WHAT IS IT?
A jar of tobacco- Do you think that watching p*rn is cheating?
I can't expect my gf to be ok with all my filthy desires so instead of raping her I silently fap my gross fantasies away. No harm no foul. Also, sex is fucking exhausting, fapping is great "alone time" where you get to focus entirely on yourself and chill. idgaf - Botre the sex doctor- Do you think that watching p*rn is cheating?
If it were cheating then I'd feel guilty, which I don't. So, nah. - Select an animal hat for your cat [Graphic Design -- FREE]
Account
Navigation
Search
Configure browser push notifications
Chrome (Android)
- Tap the lock icon next to the address bar.
- Tap Permissions → Notifications.
- Adjust your preference.
Chrome (Desktop)
- Click the padlock icon in the address bar.
- Select Site settings.
- Find Notifications and adjust your preference.
Safari (iOS 16.4+)
- Ensure the site is installed via Add to Home Screen.
- Open Settings App → Notifications.
- Find your app name and adjust your preference.
Safari (macOS)
- Go to Safari → Preferences.
- Click the Websites tab.
- Select Notifications in the sidebar.
- Find this website and adjust your preference.
Edge (Android)
- Tap the lock icon next to the address bar.
- Tap Permissions.
- Find Notifications and adjust your preference.
Edge (Desktop)
- Click the padlock icon in the address bar.
- Click Permissions for this site.
- Find Notifications and adjust your preference.
Firefox (Android)
- Go to Settings → Site permissions.
- Tap Notifications.
- Find this site in the list and adjust your preference.
Firefox (Desktop)
- Open Firefox Settings.
- Search for Notifications.
- Find this site in the list and adjust your preference.