Yoko

All sides of Injection
It is currently 2025-11-11 16:44:42

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2006-04-04 14:16:11 
Offline
User avatar

Joined: 2005-07-17 15:30:52
Posts: 308
Location: www.drw.ru
Мож но ли увеличивать значение глабальной переменной следующим способом и если нельзя то как это сделать:

sub test()
uo.setglobal('per1', '0')
.......
end sub

sub test2()
VAR a
a = val(uo.getglobal('per1')) + 1
uo.setglobal('per1', 'a')
......
end sub

И втолрой вопрос, какой командой или способом можно сделать логаут в уо через инжект? Спасибо за помощь.


Top
   
 Post subject:
PostPosted: 2006-04-04 17:06:23 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Code:
a = val(uo.getglobal('per1')) + 1 
uo.setglobal('per1', str(a))


Top
   
 Post subject:
PostPosted: 2006-04-04 17:29:02 
Offline
User avatar

Joined: 2005-07-17 15:30:52
Posts: 308
Location: www.drw.ru
Огромное спасибо...

А по логауту через инжу ничего не подскажите :)


Top
   
 Post subject:
PostPosted: 2006-04-04 17:58:55 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
Разве что через гамп и клик по кнопке. Команды нет.


Top
   
 Post subject:
PostPosted: 2006-04-04 18:12:50 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
если лог аут в смысле прост овырубить уо то uo.close()
а если компт;)) то то же есть ;)


Top
   
 Post subject:
PostPosted: 2006-04-04 18:46:40 
Offline
User avatar

Joined: 2005-07-17 15:30:52
Posts: 308
Location: www.drw.ru
Спасибо :) за хелпу


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 4 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited