Search found 1218 matches

by Thorium
Mon Dec 21, 2015 12:03 pm
Forum: Tricks 'n' Tips
Topic: WinServices.pbi [Win] Module
Replies: 14
Views: 12120

Re: WinServices.pbi [Win] Module

I have a win service related question, not PB specific, but maybe someone knows about it. I want to to run a server program on our internal server. Our admin told me he want's it to be a service, so he has better control over it. So i used your code and it works without problems on my machine. Howev...
by Thorium
Thu Dec 03, 2015 10:42 pm
Forum: Assembly and C Programming in PureBasic
Topic: diStorm 3.3 - Powerful Disassembler Library For Intel/AMD64
Replies: 3
Views: 5292

Re: diStorm 3.3 - Powerful Disassembler Library For Intel/AM

Cool stuff, thx.
I am using BeaEngine. The "decomposer" is very usefull for automatic code analysis for hooking and stuff. BeaEngine also offers this functionality.
by Thorium
Fri Nov 27, 2015 1:22 pm
Forum: Tricks 'n' Tips
Topic: Dynamic code execution in Writeable+Executable memory alloc
Replies: 13
Views: 6757

Re: Dynamic code execution in Writeable+Executable memory al

While there are still situations modifying code is usefull. Like the cases you allready told and it's essential for hooks. Self modifying code in the classical sense is a outdated concept and should not be used on modern CPU's at least not on the x86/64 family of CPU's. Back in the days self modifiy...
by Thorium
Fri Nov 27, 2015 1:03 pm
Forum: Assembly and C Programming in PureBasic
Topic: Source Level Disassembler for PureBasic?
Replies: 6
Views: 6639

Re: jas

jas wrote:For assembly programming a better debugger or a way to send debug info to another debugger would be nice.
I use OllyDbg or x64dbg to debug assembly code.
Just put a "!int 3" befor your code, to trigger a breakpoint in the debugger. Then i single step through the code.
by Thorium
Fri Nov 06, 2015 9:33 pm
Forum: General Discussion
Topic: Is SpiderBasic still alive/supported ?
Replies: 20
Views: 6514

Re: Is SpiderBasic still alive/supported ?

If you're doing that beyond the confines of a secured LAN Even then, your security relys on the trust to all clients in the network. Not only to people operating the clients but also to the security of the clients. If only one of the clients gets compromised, your database is compromised. I know it...
by Thorium
Fri Nov 06, 2015 7:09 pm
Forum: General Discussion
Topic: Is SpiderBasic still alive/supported ?
Replies: 20
Views: 6514

Re: Is SpiderBasic still alive/supported ?

I have a number of apps that clients use on their personal computers, which access a Postgres DB at a remote location. This is a very high security risk. You should never connect directly to a remote database with client apps. The only apps that should to that are administrative apps to configure a...
by Thorium
Fri Nov 06, 2015 9:26 am
Forum: General Discussion
Topic: Is SpiderBasic still alive/supported ?
Replies: 20
Views: 6514

Re: Is SpiderBasic still alive/supported ?

Last time I looked there was no possibility to access any database. (like a corporate MS-SQL database) Is this still the case? If so it's no use to me :( Of course you cant access a database. This is obvious for security reasons. You need to use a server side script or program to do this. Thats the...
by Thorium
Wed Nov 04, 2015 6:32 pm
Forum: Announcement
Topic: Support for Ascii compilation ends after the next LTS cycle
Replies: 94
Views: 94801

Re: Support for Ascii compilation ends after the next LTS cy

Would be even better if PB would use UTF-16 internaly instead of UCS-2. It would have the same problem you ran into with UTF-8 (making some string procedures more complicated and most likely slower). It also would break existing forum code which uses pointers to unicode characters assuming a unicod...
by Thorium
Wed Nov 04, 2015 5:12 pm
Forum: Announcement
Topic: Support for Ascii compilation ends after the next LTS cycle
Replies: 94
Views: 94801

Re: Support for Ascii compilation ends after the next LTS cy

5.40 LTS is out. So i guess this is the last LTS to include ASCII. I allready transitioned to unicode. Since this announcement i made all my new project unicode projects. However for file formats and network protocols i am not using PB's UCS-2 or UTF-16 (whatever it may be). I am using UTF-8, which ...
by Thorium
Wed Nov 04, 2015 4:48 pm
Forum: Coding Questions
Topic: [PB5.40] Bug in progress bar gadget?
Replies: 1
Views: 453

Re: [PB5.40] Bug in progress bar gadget?

No, well no PB bug. It's actualy a Windows "bug". The themed progress bar does some interpolation and does not fill to full in many cases. You can see this for yourself if you change the windows theme to classic. With classic your code works just fine and fully fills the bar. It's a known ...
by Thorium
Sat Oct 31, 2015 9:19 pm
Forum: Feature Requests and Wishlists
Topic: Some notes after my first PureBasic experience
Replies: 48
Views: 9121

Re: Some notes after my first PureBasic experience

My problem with many posts here is, that they can be summarised to "I hate objects! Don't include it!". When you have an argument, why PB should not support object handling, tell us. Than we can discuss about this. But "fred said no" - yes we know. And of course I am trying to c...
by Thorium
Fri Oct 30, 2015 11:28 pm
Forum: Feature Requests and Wishlists
Topic: Some notes after my first PureBasic experience
Replies: 48
Views: 9121

Re: Some notes after my first PureBasic experience

without using OOP. It is simply ridiculous to try program all the stuff from such games without using object system. So modern trends are all up to OOP, just no need to use it everywhere when it not needed like C++ propagates. I dont see any problem. Describe your problem and people might offer ide...
by Thorium
Sat Oct 24, 2015 12:46 pm
Forum: Feature Requests and Wishlists
Topic: Some missing functions for next release of PB
Replies: 3
Views: 1479

Re: Some missing functions for next release of PB

and a floating variable/constante ? Using floats on for next is actualy not a good idea. It's extremly slow because it needs some extra care do work reliably. You can't just increment floats like integers. Here is a thread about the dangers of incrementing floats in for next loops: http://www.pureb...
by Thorium
Wed Oct 21, 2015 10:06 pm
Forum: Assembly and C Programming in PureBasic
Topic: Source Level Disassembler for PureBasic?
Replies: 6
Views: 6639

Re: Source Level Disassembler for PureBasic?

Is there a source level disassembler that works with PureBasic? I would like to examine the actual x86 or x64 generated code that corresponds to the original PB source. Actualy PB generates asm code. You can keep the commented (comments are the PB source lines) asm file by launching the PB compiler...
by Thorium
Mon Sep 21, 2015 12:31 pm
Forum: Off Topic
Topic: Use SHA1 encoded user name to prevent injection?
Replies: 11
Views: 3966

Re: Use SHA1 encoded user name to prevent injection?

I dont think it's a good protection.
The user name is typicaly not the only thing a user can enter.

https://www.owasp.org/index.php/SQL_Inj ... heat_Sheet