flat assembler
Message board for the users of flat assembler.

Index > Heap > Social Engineering Opportunity: MSVC 2010 Pro and other stuf

Author
Thread Post new topic Reply to topic
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
If you're interested in, or use, MSVC, you probably know that the license for the professional version costs a lot. I decided I want to do some C coding so I looked into dling the "Express"(free and feature-disabled) version.

On the "Express" download page MS mentions a program(as in organization or initiative, not computer application) called DreamSpark for students to get MSVC 2010 and lots of other things free. One of the requirements are that you have to be in school. The verification for that requirement has two options, select your school from a list, or "Contact Us." My school wasn't listed, so I contacted them. I am in HS, but wasn't asked to prove that in any way to MS.

I suppose it wouldn't be too hard to get a verification code even if I wasn't in school... Wink

Note: MSVC == Microsoft Visual C or Microsoft Visual Studios
Post 14 Jun 2010, 18:27
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17350
Location: In your JS exploiting you and your system
revolution
So basically ... download MSVC free, by lying about who you are, and forever have bloat in all your exe's.

I wonder is MS check your IP when downloading?
Post 14 Jun 2010, 19:09
View user's profile Send private message Visit poster's website Reply with quote
score_under



Joined: 27 Aug 2009
Posts: 27
score_under
revolution wrote:
So basically ... download MSVC free, by lying about who you are, and forever have bloat in all your exe's.

I wonder is MS check your IP when downloading?

@IP checks: Access log.

But yes, I find MSVC does tend to bloat things... I do however like GCC's -no-stdlib -s -Os switches. It really gets on my nerves when people say "So the program didn't have use optimizer and has really bloated code... who cares? It's only a few wasted cycles."
Excuse me, but I find this kind of code unforgivable, and I've seen it too often:
Code:
xor eax,eax
mov [edx],eax
xor ecx,ecx
mov [edx+4],ecx
xor eax,eax
mov [edx+8],eax
xor ecx,ecx
...
    
Post 14 Jun 2010, 21:01
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
revolution wrote:

So basically ... download MSVC free, by lying about who you are, and
forever have bloat in all your exe's.

No, by lying about who you are. I didn't lie, I'm honestly a student in the
NC public school system. I would've given them my student ID if they'd
asked.

The IDE is the reason to use it, not the compiler. Code Blocks can open
MSVC's project files and use MinGW's gcc to compile your code.

You have no idea how convenient the code completion is. It even has a
little pop up that lists all the parameter types to the API function as you
type it.
revolution wrote:

I wonder is MS check your IP when downloading?

Probably. But, would it matter since I have a dynamic IP?(That's honestly
a question, not sarcasm. I really don't know.)
Post 14 Jun 2010, 22:13
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko
why do i need all that?
is not this a demo as they say?


Description:
Filesize: 56.21 KB
Viewed: 2468 Time(s)

msvc++ garbage.png


Post 15 Jun 2010, 09:31
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17350
Location: In your JS exploiting you and your system
revolution
Tyler wrote:
No, by lying about who you are. I didn't lie, I'm honestly a student in the NC public school system. I would've given them my student ID if they'd asked.
I didn't mean to imply you "embellished" your status, but you are implying that others "modify" their status.

Personally I don't have such a burning desire to bloat all my code with a multi-gigabyte download obtained with "ambiguous" claims.
Post 15 Jun 2010, 09:54
View user's profile Send private message Visit poster's website Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko
wasm.ru's copy of my post, it's for you guys, avoid MS Dollars and Intel Cents(intel c++ requires msvc++), those both require money too passing_or_directly, gnu compilers collection is an everlasting free

[WAMS.RU'S]
-Code::Blocks IDE: http://codeblocks.org
-GNU Compiler Collection manuals: http://gcc.gnu.org/onlinedocs/
-c++ library: http://boost.org/
Code:
#include <iostream>

using namespace std;

int main()
{
  const char szMiniGW[] = "MiniGW";
  asm("hlt");
  for(int i = 0; szMiniGW[i] != 0; i++){
  };
  return 0;
/*
CPU Disasm
Address    Hex dump               Command                                       Comments
00401344   |> /8A10               /mov     dl,[byte ds:eax]
00401346   |. |40                 |inc     eax
00401347   |. |84D2               |test    dl,dl
00401349   |.^\75 F9              \jne     short operators.00401344

*/
}
    

[/WAMS.RU'S]


Description: Setting a compiler
Filesize: 25.56 KB
Viewed: 2461 Time(s)

gcc.PNG


Post 15 Jun 2010, 10:38
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
BTW, once installed, I suggest immediate disabling of the SQL Server service as it is not very nice with its %100 CPU usage bursts that it makes even though nothing is using any database in there (and no one is defined initially but still consumes CPU).

Also, it is worth noting that VS2010 works like a beta actually, if you are not forced to use it (job's requirements for instance), I suggest stick with VS2008 for now and wait for the really final version (i.e. VS2010 SP1).
Post 15 Jun 2010, 17:23
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko
why are you boys to fight with all the train we are talking about: free software requires unpacking mostly only, no soaping
do not call me a ... for the next please: have 5 minutes of your time to show msvc++ disassembly of this snippet, please, i'm exploring
http://board.flatassembler.net/topic.php?t=11542&start=6
Post 15 Jun 2010, 19:20
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.