|
You last visited: Today at 08:27
Advertisement
C# protection openion
Discussion on C# protection openion within the .NET Languages forum part of the Coders Den category.
07/08/2012, 21:40
|
#1
|
elite*gold: 0
Join Date: May 2008
Posts: 477
Received Thanks: 178
|
C# protection openion
[Opinion]  just spelling mistake
i making a program that checks for username and password and if true the program executes ( using sql connection )
but as i know that the if i made something like this example
if (username == txtboxuser.Text && password == txtboxpass.Text)
{
MessageBox.Show("RightPassword");
}
it might be Jumped with Olly dbg so how could i protect my program from being cracked to skip the Login Sequence ?
Is packing the program with themida or any other packer will do it ?
|
|
|
07/08/2012, 21:46
|
#2
|
elite*gold: 155
Join Date: Aug 2009
Posts: 628
Received Thanks: 153
|
Quote:
Originally Posted by badguy4you
if (username == txtboxuser.Text && password == txtboxpass.Text)
{
MessageBox.Show("RightPassword");
}
|
I guess you defined an username and a passwort in two variables?
And I also guess that you defined it as an unencrypted string?
A possible solution would be to define a md5 hash or some sort of hashed string in those two variables. Then you can check if the md5 hash of txtboxuser.Text and the md5 hash of the password is the same.
It would be one possibility. Not very secure (because of bruteforce attacks) but a first step.
Edit: Ok i did not answer you question but maybe it helps too.
|
|
|
07/09/2012, 00:24
|
#3
|
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
|
Submit the important code after a successfull login happend(check serverside), crypted and obfuscated ofcoz. Add some anti debug stuff, pack it, obfuscate it. This will atleast stop unexperienced ppl.
|
|
|
07/09/2012, 01:19
|
#4
|
elite*gold: 0
Join Date: May 2008
Posts: 477
Received Thanks: 178
|
i believe that every thing can be cracked so i dont say that i want my program uncrackable
but i want it a way hard that even experienced can take a while to crack it
|
|
|
07/09/2012, 15:14
|
#5
|
elite*gold: 0
Join Date: Mar 2011
Posts: 806
Received Thanks: 160
|
Quote:
Originally Posted by badguy4you
i believe that every thing can be cracked so i dont say that i want my program uncrackable
but i want it a way hard that even experienced can take a while to crack it
|
Here is my favourite way:
- Copy your Project
- Change all the Variable names to 'a', 'b', 'c', ... and compile then
- Delete all Comments
- Use the

- You can use more Packers if you want.
*EDIT:
Here is a list of obfuscators
Btw. The best Protection for your Software is a Online-Protection with Tokens.
|
|
|
07/09/2012, 16:00
|
#6
|
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
|
Quote:
Originally Posted by Coding Lounge
Here is my favourite way:
- Copy your Project
- Change all the Variable names to 'a', 'b', 'c', ... and compile then
- Delete all Comments
- Use the

- You can use more Packers if you want.
*EDIT:
Here is a list of obfuscators
Btw. The best Protection for your Software is a Online-Protection with Tokens.
|
Ernsthaft? Sry aber du bist ne Witzfigur...
|
|
|
07/09/2012, 16:02
|
#7
|
elite*gold: 0
Join Date: Mar 2011
Posts: 806
Received Thanks: 160
|
Quote:
Originally Posted by boxxiebabee
Ernsthaft? Sry aber du bist ne Witzfigur...
|
So mache ich es immer.
btw: Spam = report
|
|
|
07/09/2012, 16:10
|
#8
|
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
|
Quote:
Originally Posted by Coding Lounge
Here is my favourite way:
- Copy your Project
...
- Change all the Variable names to 'a', 'b', 'c', ... and compile then
Fürwas? Da arbeitet jeder x-beliebige Obfuscator schneller & besser.
- Delete all Comments
Kommentare werden automatisch vom Compiler entfernt.. aber naja.. wenn man lust auf unnötige Arbeit hat...
- Use the

Das bringt genau null Schutz, verkleinert einfach die .exe
- You can use more Packers if you want.
Wenn man glück hat. Normalerweiße wird dann das Programm nicht mehr funktionieren wenn man mit zuvielen externen Programmen daran rumpfuscht...
Here is a list of obfuscators
Für was denn jetzt noch einen Obfuscator? Haben wir doch früher schon händisch erledigt!?
|
Quote:
Originally Posted by Coding Lounge
So mache ich es immer.
btw: Spam = report
|
Dann bist du einfach dämlich und solltest das programmieren lassen o.O
|
|
|
07/09/2012, 16:20
|
#9
|
elite*gold: 0
Join Date: Mar 2011
Posts: 806
Received Thanks: 160
|
Quote:
Originally Posted by boxxiebabee
Dann bist du einfach dämlich und solltest das programmieren lassen o.O
|
Da ich sowiso nur Open-Source Software programmiere kann ich mir das gesamte Obfuscating sparen.
|
|
|
07/09/2012, 16:30
|
#10
|
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
|
Quote:
Originally Posted by Coding Lounge
Da ich sowiso nur Open-Source Software programmiere kann ich mir das gesamte Obfuscating sparen.
|
Ist dir das nicht selbst peinlich fremde Leute übers Internet zu belügen, nur damit du nicht ganz so dumm da stehst?
1.
Quote:
Originally Posted by Coding Lounge
Here is my favourite way: - Copy your Project
- Change all the Variable names to 'a', 'b', 'c', ... and compile then
- Delete all Comments
- Use the

- You can use more Packers if you want.
|
Quote:
Originally Posted by Coding Lounge
So mache ich es immer.
|
2. 
Opensource, na klar. Aber wer will denn auch schon von solchen 0815 1337-Programmen den Source haben!?
|
|
|
07/09/2012, 16:43
|
#11
|
elite*gold: 0
Join Date: Mar 2011
Posts: 806
Received Thanks: 160
|
Quote:
Originally Posted by boxxiebabee
Ist dir das nicht selbst peinlich fremde Leute übers Internet zu belügen, nur damit du nicht ganz so dumm da stehst?
1.
2.
Opensource, na klar. Aber wer will denn auch schon von solchen 0815 1337-Programmen den Source haben!?
|
1. 
2. E-Mail Bomber - wer will denn bitte den Source davon ?!?
3.

- Wenn das 0815 ist...
|
|
|
07/09/2012, 16:51
|
#12
|
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
|
Quote:
Originally Posted by Coding Lounge
1. 
2. E-Mail Bomber - wer will denn bitte den Source davon ?!?
3.

- Wenn das 0815 ist...
|
1. Ui ein einziges Programm.
2. Niemand, genauso wie vom Youtube-Bot.. da gibs auch schon unzählige Opensource Variationen.
3. Ui ui ui. Schaut ja immer noch gleich aus wie vor paar Wochen (?) in dem einen Thread wo du nur totalen Schwachsinn verzapft hast. Und ja, sowas nenne ich 0815. Von solchen Kindergarten Aufgaben kann ich in der Arbeit nur träumen. Und weil ja in .NET mit XML-Dateien zu arbeiten so hardcore aufwändig ist. Außerdem benutzt nicht mal OOP, was man so sieht...
|
|
|
07/09/2012, 17:01
|
#13
|
elite*gold: 0
Join Date: Mar 2011
Posts: 806
Received Thanks: 160
|
Quote:
Originally Posted by boxxiebabee
1. Ui ein einziges Programm.
2. Niemand, genauso wie vom Youtube-Bot.. da gibs auch schon unzählige Opensource Variationen.
3. Ui ui ui. Schaut ja immer noch gleich aus wie vor paar Wochen (?) in dem einen Thread wo du nur totalen Schwachsinn verzapft hast. Und ja, sowas nenne ich 0815. Von solchen Kindergarten Aufgaben kann ich in der Arbeit nur träumen. Und weil ja in .NET mit XML-Dateien zu arbeiten so hardcore aufwändig ist. Außerdem benutzt nicht mal OOP, was man so sieht...
|
Vorab halte ich mich nach diesem Thread aus derartigen Diskussionen heraus.
1. Glaubst du etwa ich programmiere nur für diese Wannabe-Coding Foren wie Elitepvpers ?
2.  - wahrscheinlich mehr downloads als eins deiner popeligen Programme
3. Ja weils, derselbe Screenshot ist. Ja da habe ich Schwachsinn verzapft... UND ? Wohl eher Ausbildung. Wenn du Netzwerkprogrammierung, Datenbankprogrammierung 0815 findest....
|
|
|
07/09/2012, 17:14
|
#14
|
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
|
Quote:
Originally Posted by Coding Lounge
Vorab halte ich mich nach diesem Thread aus derartigen Diskussionen heraus.
1. Glaubst du etwa ich programmiere nur für diese Wannabe-Coding Foren wie Elitepvpers ?
2.  - wahrscheinlich mehr downloads als eins deiner popeligen Programme
3. Ja weils, derselbe Screenshot ist. Ja da habe ich Schwachsinn verzapft... UND ? Wohl eher Ausbildung. Wenn du Netzwerkprogrammierung, Datenbankprogrammierung 0815 findest....
|
2. Bestimmt, 78 downloads, lol. Als ich damals mal nen Youtube-Bot gemacht habe, waren es doch einige mehr, aber egal, darum gehts nicht.
Außerdem bin ich eher in der Web-Entwicklung tätig.
3.Das Problem ist ja, das du so gut wie immer Schwachsinn verzapfst. Wo zur hölle ist da Datenbankprogrammierung dabei? Du speicherst es als XML ab, und das ist keine Datenbank!!!
|
|
|
07/09/2012, 17:19
|
#15
|
elite*gold: 0
Join Date: Mar 2011
Posts: 806
Received Thanks: 160
|
Quote:
Originally Posted by boxxiebabee
2. Bestimmt, 78 downloads, lol. Als ich damals mal nen Youtube-Bot gemacht habe, waren es doch einige mehr, aber egal, darum gehts nicht.
Außerdem bin ich eher in der Web-Entwicklung tätig.
|
ES IST DER VERDAMMTE SOURCE, LERN MAL LESEN.
Was machst du dann in "net-languages"?
Verpiss dich nach
Quote:
Originally Posted by boxxiebabee
3.Das Problem ist ja, das du so gut wie immer Schwachsinn verzapfst. Wo zur hölle ist da Datenbankprogrammierung dabei? Du speicherst es als XML ab, und das ist keine Datenbank!!!
|
So gut wie immer = 10 in 750 Posts ?
Hast du den gesamten Quellcode gesehen ? RICHTIG !!!!
In XML wird nur die Config gespeichert, nicht die Benutzerdatenbank oder die Aufträge
|
|
|
 |
|
Similar Threads
|
Help/Sql Protection
03/16/2012 - Kal Online - 1 Replies
hey guys i lookin for someone who can help me to protect my sql for my home ..
a friend of me tryed a sql injection and it works ..can anyone help me via teamviewer or teamspeak server/homepage/sql/ts3 ready
german<:rtfm:
|
which system would be more interesting for players Add your Openion please
10/30/2010 - CO2 Private Server - 12 Replies
Well am going to create a new 5199 server
so wanna players Have Fun as much as possible
Which would be better
With Heaven fan and tower or with out them
|
need ur openion plz
06/23/2010 - SRO Private Server - 3 Replies
hello guys
i start farming new acc on swsro and need ur openion about it plz
so , if i farmed about 500k sp which gap i must goes till lvl 110 FF?
i need about 3.9m with mmo Calculator so idk if it true or not
so plz gimme ur openion or put another way thats help me
thx futur
|
Bot protection.
04/13/2010 - Lineage 2 - 5 Replies
Hey I am plaing on one l2 private server (name doesn't matter). Everything was ok until they made some bot protection. Mayby you guys can help me. When I start botting (when I start auto combat) I get message :
Imageshack - 2141m.jpg
I get it few times and then my game closes.
thank you in advance.
|
Protection
01/31/2009 - Silkroad Online - 2 Replies
I'm so depressed caz' i got hacked once again. The only thing that ive done is that ive downloaded a video "arabian race trailor" from a post "Future abdates" from one of the people who has comented on the main post. I'm not saying that #$@# about the forum, on the contrary, it's one of the greatest forums ever. But there are people who use such things. After i downloaded it, and after my main character loged off, i returned to discover that the servers are "offline", although my noob was...
|
All times are GMT +1. The time now is 08:28.
|
|