Click here to Skip to main content
15,914,642 members
Home / Discussions / System Admin
   

System Admin

 
AnswerRe: IIS management under restricted user Pin
Mekong River8-Dec-06 14:53
Mekong River8-Dec-06 14:53 
QuestionWinXP Skin Pin
albCode6-Dec-06 4:10
albCode6-Dec-06 4:10 
AnswerRe: WinXP Skin Pin
MatrixCoder6-Dec-06 12:20
MatrixCoder6-Dec-06 12:20 
AnswerRe: WinXP Skin Pin
Mekong River8-Dec-06 14:58
Mekong River8-Dec-06 14:58 
QuestionUser Account control Pin
BLOEDHOND4-Dec-06 22:31
BLOEDHOND4-Dec-06 22:31 
QuestionUDP-Checksum Überprüfung unter Windows abstellen Pin
ahuizotl3-Dec-06 23:52
ahuizotl3-Dec-06 23:52 
AnswerRe: UDP-Checksum Überprüfung unter Windows abstellen Pin
Sebastian Schneider5-Dec-06 3:26
Sebastian Schneider5-Dec-06 3:26 
Questionhelp me to get the parameters in function hijacking with kernel module programming Pin
rajasvu1-Dec-06 23:38
rajasvu1-Dec-06 23:38 
I had worked out function hijacking mechanism by silvio and was successful except that as soon as i load the module the console is scrolling.But the problem i had is, I need the parameters of the hijacked function for developing my own function. Iam sending the code also

<br />
#define CODESIZE 7<br />
<br />
static char originalcode[CODESIZE];<br />
static char jmpcode[CODESIZE]=<br />
"\xb8\x00\x00\x00\x00" /*movl $0,%eax*/<br />
"\xff\xe0" /* jmp *%eax */<br />
;<br />
void modfun(unsigned int,int);<br />
<br />
int (*getkeycode)(unsigned int scancode)=(int (*)(unsigned <br />
int))0xc022fae0;<br />
<br />
int keycode;<br />
void (*kbd_keycode)(unsigned int keycode,int down,struct pt_regs <br />
*regs)=<br />
 (void(*)(unsigned int keycode,int down,struct pt_regs <br />
*regs))0xc0230d30;<br />
 <br />
int init_module(void)<br />
{<br />
 printk(KERN_INFO "ENTERED INTO INIT MODULE\n");<br />
 keycode=(getkeycode(0x1e));<br />
<br />
 *(long *)&jmpcode[1]=(long)modfun;<br />
 memcpy(originalcode,kbd_keycode,CODESIZE);<br />
 memcpy(kbd_keycode,jmpcode,CODESIZE);<br />
<br />
 return 0;<br />
}<br />
<br />
void cleanup_module(void) <br />
{<br />
 printk(KERN_INFO "ENTERED INTO CLEANUP MODULE\n");<br />
 memcpy(kbd_keycode,originalcode,CODESIZE);<br />
}<br />
<br />
void modfun(unsigned int keycode,int down)<br />
{<br />
 printk("ENTERED INTO MODIFIED FUNCTION\n");<br />
<br />
 if(keycode==30)<br />
    memcpy(kbd_keycode,originalcode,CODESIZE);<br />
 else<br />
    printk("KEY IS NOT 'a'\n");<br />
}<br />
 <br />
<br />
kbd_keycode is the first function to be called when we press a key.


kumar raja

QuestionLinux installation help Pin
Lampros Giampouras1-Dec-06 8:37
Lampros Giampouras1-Dec-06 8:37 
AnswerRe: Linux installation help Pin
markkuk1-Dec-06 11:28
markkuk1-Dec-06 11:28 
GeneralRe: Linux installation help Pin
Lampros Giampouras1-Dec-06 14:22
Lampros Giampouras1-Dec-06 14:22 
GeneralRe: Linux installation help Pin
Dave Kreskowiak1-Dec-06 16:42
mveDave Kreskowiak1-Dec-06 16:42 
GeneralRe: Linux installation help Pin
MatrixCoder1-Dec-06 16:54
MatrixCoder1-Dec-06 16:54 
GeneralRe: Linux installation help Pin
Mekong River2-Dec-06 15:16
Mekong River2-Dec-06 15:16 
GeneralRe: Linux installation help Pin
Lampros Giampouras2-Dec-06 3:04
Lampros Giampouras2-Dec-06 3:04 
GeneralRe: Linux installation help Pin
Dave Kreskowiak2-Dec-06 6:48
mveDave Kreskowiak2-Dec-06 6:48 
GeneralRe: Linux installation help Pin
Mekong River2-Dec-06 15:17
Mekong River2-Dec-06 15:17 
GeneralRe: Linux installation help Pin
Mekong River2-Dec-06 15:10
Mekong River2-Dec-06 15:10 
GeneralRe: Linux installation help Pin
Dave Kreskowiak2-Dec-06 15:37
mveDave Kreskowiak2-Dec-06 15:37 
AnswerRe: Linux installation help Pin
Mekong River2-Dec-06 15:08
Mekong River2-Dec-06 15:08 
GeneralRe: Linux installation help Pin
Lampros Giampouras3-Dec-06 9:01
Lampros Giampouras3-Dec-06 9:01 
AnswerRe: Linux installation help Pin
bsaksida10-Dec-06 11:59
bsaksida10-Dec-06 11:59 
GeneralRe: Linux installation help Pin
Lampros Giampouras11-Dec-06 2:12
Lampros Giampouras11-Dec-06 2:12 
QuestionAutorun on USB device Pin
RoyceF30-Nov-06 12:14
RoyceF30-Nov-06 12:14 
AnswerRe: Autorun on USB device Pin
MatrixCoder30-Nov-06 12:28
MatrixCoder30-Nov-06 12:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.